LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does "create and wire unwired cases" work? I can't get it to do anything....

Solved!
Go to solution

Ok, I have an event structure with a ton of events. 

 

I've just added a value that goes through it...this value is a shift register on the outter loop.

 

I see that when your right click the tunnel on the event...there is the switch to turn off "Use Default if Un-wired".

 

I also see some options that appear to do what I want to do...and that is to wired all unwired connections on the other events with "Linkted Input Tunnels" -> "Create & Wire Unwired Cases".

 

When I click this..the cursor turns to a new shape...but from here...I cannot figure how to get this to work...I've tried right clicking on the 'broken' tunnel at that end....I've tried left clicking in an event that is unwired....but nothing.

 

Can someone help me here...I think this is what I want...but can't get it to work.

 

Thank you in advance,

 

cayenne

0 Kudos
Message 1 of 4
(3,748 Views)
Solution
Accepted by topic author cayenne

After you click create and wire, click on the terminal on the other side of the structure that you want to feed the output tunnel.  If it's already wired directly to the other tunnel, it will know what you mean without the extra step of selecting the input side.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 4
(3,747 Views)

@cayenne wrote:

Ok, I have an event structure with a ton of events. 

 

I've just added a value that goes through it...this value is a shift register on the outter loop.

 

I see that when your right click the tunnel on the event...there is the switch to turn off "Use Default if Un-wired".

 

I also see some options that appear to do what I want to do...and that is to wired all unwired connections on the other events with "Linkted Input Tunnels" -> "Create & Wire Unwired Cases".

 

When I click this..the cursor turns to a new shape...but from here...I cannot figure how to get this to work...I've tried right clicking on the 'broken' tunnel at that end....I've tried left clicking in an event that is unwired....but nothing.

 

Can someone help me here...I think this is what I want...but can't get it to work.

 

Thank you in advance,

 

cayenne


This option is used when you have large number of case structures and the wireing terminal is same. If you want to understand those things do these things

 

  • Create an Enum with 4 elements
  • Create a state machine design pattern but wire only one case to the shift register and leave the other cases un wired
  • Go to the unwired case at the right click the unwired terminal and select Create & Wire Unwired Cases you will get a wire bundle click that in the input terminal that connects the output
  • Undo the previous one and go to the wired case and right click the termianl at the right side of the case structure and select the same Create & Wire Unwired Cases.

 

I guess the explanation is clear

-----

The best solution is the one you find it by yourself
Message 3 of 4
(3,739 Views)

Ok...that did it.

I selected an event that wasn't wired....went back to the left side of the structure, clicked over there...it wired and when I checked, the other cases were wired too.

 

Thank you, I just didn't think of having to do those extra steps...I kept thinking if you clicked on that side and the option was there...that it would happen from that side....

 

Again, I got it..thanks, what a time saver!!!

 

cayenne

0 Kudos
Message 4 of 4
(3,729 Views)