LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to end a vi after xxx seconds ?

hi folks
 
how can i end a vi after 10 mins?>  i got labview 8 and there is a plenthora or different time blocks, totally lost.........!
 
thanks
 
0 Kudos
Message 1 of 5
(3,321 Views)
There are lots of different solutions possible.
 
You could use the "Time elapsed" express vi, you could store a timestamp when the vi starts and compare it to a current time-stamp to calculate the time elapse (basically this is what the express vi does).
 
And there are other ways to do what you want.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 5
(3,308 Views)
Here are a couple of easy ways:
 

Message Edited by Warren Massey on 02-16-2006 07:18 AM

0 Kudos
Message 3 of 5
(3,305 Views)

hi folks,

 

i tried one of them on my vi, which is very very messy, but it works.......(somehow!), can anyone alter this so it halts after 10mins?

 

regards

 

eric

 

0 Kudos
Message 4 of 5
(3,292 Views)
Attached is an example of how you could stop your VI. I've used the Elapsed Time Express VI. I also included a stop button as it's better to stop it that way then by using the Abort button.
Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 5 of 5
(3,267 Views)