Hello,
I want to execute an VI when an changement occured on my global variable.
Any idea on how I can do that with a event structure or other way ?
Thanks.
已解决! 转到解答。
You can use the value signaling property of a control to fire the event programatically. So you can wire the Global to a control say a boolean to its value signaling property node. I am assuming your global variable as boolean else you need use a shift register to check with its previous value and fire the event.
I'm not sure to understand, any example please ?
Check the attached example replace the Gloabl variable control with the actual global variable.
This explains about the Event triggering through software. But Gerd's solution is the very simple one you can go for that.
Thank you all for your help,
Gerd's solution is more simple. ![]()