LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have an event inan event structure which is not triggered by front panel objects?

Hi
 
I currently have a state machine residing in a event structure.
just wonder if i could trigger the event structure through other means so i can do without the state machine.
i tried changing the value of control/indicator and use 'value changed' to trigger the event but does not seem to work that way.
anyone ever tried to create such a hybrid event structure/state machine?
 
Goy
0 Kudos
Message 1 of 3
(2,449 Views)
Change the value of the control/indicator by writing to the Value(signaling) property instead of just writing to the control itself.  Right click on the control and select Create - Property.  Click on the property node and select Value(signaling).  This will programatically fire an event that is set for value change.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,448 Views)
Hi tbob!
 
Thanks! it works beautifully. I am pretty anal when it comes to making my VI neat and tidy. this will save me much space.
In addition, the string control/indicator will indicate the status nicely.
 
Goy
0 Kudos
Message 3 of 3
(2,425 Views)