07-17-2012 11:48 AM
I want to allow the user to be able to control the time. For example, say that I want the user to be able to run what's inside a particular case for 3 minutes. What VI should I use?
Thanks
Mike
07-17-2012 11:52 AM
You are going to have to give more details. Maybe some code of what you have tried?
07-17-2012 11:56 AM
The elapsed time express VI will do the job. Simply place on the block diagram and create a control on the "Time Target (s)" input. The user will now be able to directly control the timeout. I presume that you are collecting data in a loop and want to stop when the timer finishes, to accomplish this place the vi inside the loop of interest and wire the "Time has elapsed" output to the conditional terminal of the loop.