NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling an E-STOP in Teststand

Solved!
Go to solution

We are using LabVIEW with TestStand and need to continually read an E-Stop input when running the main test sequence. The E-Stop removes power from the UUT but the second set of contacts we would like to use to force the sequence to go to the Cleanup state. What would be the best method to use in this situation.

Thanks

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

First, let's assume that you have the means to know that the E-stop has been pressed (perhaps by a digital input or maybe you read the current to the DUT).  In your sequence, you could use a SequenceFilePostStep callback and check the E-stop.  If the e-stop has been pressed, you use the Execution.Terminate method.  

 

And of course, there are a number of other ways to implement an e-stop; this is just one way.

 

Pulido Technologies LLC

0 Kudos
Message 2 of 4
(2,670 Views)
Solution
Accepted by topic author sdrochek3

Here's a little example I threw together.  Let me know if it works for you and if you have any questions.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 3 of 4
(2,666 Views)

Jigg, Thanks this works great on our test!

0 Kudos
Message 4 of 4
(2,569 Views)