05-30-2012 07:10 AM - edited 05-30-2012 07:10 AM
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.
Solved! Go to Solution.
05-30-2012 07:23 AM
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.
05-30-2012 07:46 AM
I'm not sure to understand, any example please ?
05-30-2012 07:51 AM
05-30-2012 08:01 AM - edited 05-30-2012 08:02 AM
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.
05-30-2012 08:06 AM
Thank you all for your help,
Gerd's solution is more simple.
05-30-2012 11:44 AM
Perhaps something like this.