LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Allowing the user to control the time of a case structure

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

0 Kudos
Message 1 of 3
(2,074 Views)

You are going to have to give more details.  Maybe some code of what you have tried?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,065 Views)

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.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
Message 3 of 3
(2,063 Views)