LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chain up event case

Hi,

 

Is it possible to chain up several event case which are in an event structure? Without changing this structure by a sequence structure.

 

For example: you have one button per event and there is one button "do it all" which chain up all the buttons   

 

I appreciate your support, tks in advance.

 

Dido

0 Kudos
Message 1 of 6
(3,139 Views)
Use Value(Signaling) properties in the "do it all" event to fire the events for all the buttons.
Message 2 of 6
(3,138 Views)

Or have a look at the "producer-consumer-design pattern" with events http://zone.ni.com/devzone/cda/tut/p/id/3023

This is a powerful tool to do what you want...you can define the reactions to your events in the consumer loop and fire these reaction as you like...

 

 Greetings

 

Christian


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
Message 3 of 6
(3,128 Views)

For the Val(Sig) to work properly, the button should have been configured with Switching mechanical action.

 

See this recent thread also.

- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 6
(3,124 Views)

Thank a lot JB, that is it what an amazing properties Smiley Wink.

 

BR

 

Dido

0 Kudos
Message 5 of 6
(3,123 Views)

To All 

 

Thanks to your help

 

BR

 

 

0 Kudos
Message 6 of 6
(3,121 Views)