As I said, there's no built-in function to do a time out, so we're going to have build one.
In it's simplest from, all you need are two "Tick Count(ms)" functions, a "Subtract" and a "Greater Than".
The first Tick Count gets the current time in ms and sends this into
the loop throught the tunnel. The Tick Count in the loop outputs the
current time on every iteration of the loop so you can compare the
current to the original from the loop tunnel. Just subtract these two
values and see if it's larger than what your you want your time out to
be. (specified in ms here, so this is a 2 second timeout)
One very important thing to keep in mind is that the loop
MUST BE ITERATING
for this to work. If something is stalling the loop and not letting it
run, this will not work. The Tick Count functions (as with all
functions and subVIs) are read or written to only once per loop
iteration. You'll to figure out what is stalling the loop and fix that
as well.
Let us know if you need more help on this.
Ed
Message Edited by Ed Dickens on 05-04-2006 12:55 PM

Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.