Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69041

LabvVIEW Scripting: wiring a pass-through tunnel inside a case structure

$
0
0

Hi, 

Using LV scripting, I created a case structure and populated the "FALSE" case, tunnels were automatically created when contents were wired:

wiring-tunnel-problem1.png

I would like  the "TRUE" case  to act as a pass through. Which is trivial if done manually:

wiring-tunnel-problem2.png

 

wiring-tunnel-problem3.png

But looks like it's quite tricky to do it through scripting, here is the best I managed to do:wiring-tunnel-problem4..png

 

I used ObjHighLight to make sure I was working with  the right terminals.  Although I'm trying to wire the tunnel's inside terminals,the result is somewhat disappointing:


wiring-tunnel-problem5.png

When using clean up, one notices that the wiring was done outside the Case structure, hence the connection error:

wiring-tunnel-problem6.png

Oddly enough, switching the two terminal parameters in  the Connect Wire node yields a different result:

wiring-tunnel-problem7.png

 

What am I missing ?


Viewing all articles
Browse latest Browse all 69041

Trending Articles