LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering Multiple Events from Event Structure

I have VI with multiple Controls.

I have an event structure that triggers an event for "Value Change" for each of the Controls.

I would like to perform an action (single button press) that triggers all of the 'value change' events in this event structure without actually changing the values in every control.

Is this possible?

 

Many thanks, Alec

0 Kudos
Message 1 of 4
(2,938 Views)
Try using the "Value(Signaling)" property.
-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 4
(2,927 Views)

Capture.PNG

Try to this property.

0 Kudos
Message 3 of 4
(2,918 Views)

Why do you want to do this?  Value-signalling properties are "expensive".  If you want to do "a bunch of things" when Button A is pressed, simply put the code for "the bunch of things" in the Value Changed Event for Button A.  If it is a "collection" of the code from Buttons B, C, D, and E, so what?  That way, you can arrange them in the order you wish and avoid the unnecessary calls to the Front Panel.  If you are worried about Block Diagram "space", encapsulate the code in a sub-VI that takes only 32x32 pixels.

 

Bob Schor

0 Kudos
Message 4 of 4
(2,906 Views)