LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timing

I have a timing problem that I am trying to figure out.  I am creating a functional test that is a period reading for my daq continuity check.  If my relay closes within 1000 ms I want it to stop my loop, pass and go onto the next test, but if it does not close within 1000ms I want it to stop the loop and pass the timout error to my pass fail button.  I cant get the timout to work.

0 Kudos
Message 1 of 4
(2,199 Views)

Can you post your code so that we can see what you already have? It will make it easier to offer suggestions.

Tim
GHSP
0 Kudos
Message 2 of 4
(2,178 Views)

Here is my vi it is in 2010 let me know if you need it in 2009.

0 Kudos
Message 3 of 4
(2,175 Views)

Hi tech11,

 

I have posted an example here that hopefully should put you on the right path.  I put notes in the case structures where you would have to add code and you will have to add the boolean invoke node functionality as well (There was a sub VI called from the main VI that I did not have).  I hope this helps!

 

Kim

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,152 Views)