11-03-2011 09:48 AM
I would like to switch on and off a relay during 5/10 seconds (NI 9481 module) and to light on /off a LED (3 cycle in total).
I have managed to do it but now I would like also to show the elapsed time in every cycle and I am not able to do it. Time start elapsing and it switch on the relay at the beginning but then it stays inside the while loop without going out from it.
Can anyone help me?
11-03-2011 03:32 PM
There's an Elapsed Time vi in the Timing palette, it should fit your needs. If you're using the Event structure just for the timeout case you can probably replace it with this and a conditional structure.