10-08-2013 06:48 AM
Hi
I'm trying to pass indicator values between two vi's but I'm not having much joy. I'm trying to use a Bool Refnum and a property node to facilitate the exchange it doesn't seem to work. I'm sure I'm missing something simple but I can see it. Attached are two simple vi's illustrate the issue.
The ultimate aim is to run a solenoid pump at around 2 Hz.
cheers
Solved! Go to Solution.
10-08-2013 06:57 AM - edited 10-08-2013 06:58 AM
This is a classic race condition. It is most likely that the property node will execute before the TRUE value is written to your local. And the property node won't update again until the next iteration. But by then the local has already been set back to FALSE. Write directly to the property nodes instead.
10-08-2013 03:17 PM
Thanks Crossrluz, much appreciated!