NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

IF THEN Else in TestStand

Hi,

 

Could anyone please provide me an example for IF THEN ELSE in TestStand? I have 3-4 steps (LabVIEW modules) in a sequence, which use VISA. Somehow the connection losses in between. If “connection lost” happened, I would like to clear the error and reopen the VISA and go back to the first step. I have a global variable which monitor the number of “connection lost”. If this exceeds a certain limit, I need to stop the execution.

 

Any simple example…?

 

Thanks in advance.

Sanad MM

0 Kudos
Message 1 of 2
(4,348 Views)
Hi Sanad,

We provide an example of some of our Flow Control Steps in the examples folder:  <TestStand Directory>\Examples\SequenceFlow.  The "UsingFlowControlSteps.seq" will be a good example to start with.  I hope it helps!
Matt S
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(4,298 Views)