Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

stop a VI if it does not give a value or it exceeds a certain time

Hello,

I would like to stop a running vi if a timer exceeds a certain time. I am running a calculation but sometimes it takes ages to finish so, I would like to programmaticaly stop its VI if let's say run over 1min without giving a result and stopping by itself.

Thanks,

Zied

0 Kudos
Message 1 of 4
(3,394 Views)

You can try using Elapsed time. Example in this might give hint: http://digital.ni.com/public.nsf/allkb/05A9C3B0A4D5A7638625712B006FB30F

Thanks
uday
0 Kudos
Message 2 of 4
(3,384 Views)

Hey Zied,

 

As udka mentioned, you could probably do this using the elapsed time VI.

 

Also, you may have better luck with further LabVIEW questions if you post them in the LabVIEW Forum, since this doesn't really pertain to machine vision.

Eden K
Applications Engineer
0 Kudos
Message 3 of 4
(3,361 Views)

could you send your example vi and place that you want to stop suddenly 

0 Kudos
Message 4 of 4
(3,306 Views)