NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Handle Labview Runtime Error in Teststand

Hi,
 
I am working NI-CAN device to transfer CAN frames through the VI's using TestStand. Before transmission took place, we need to choose for the port, in case if the port is selected wrong, Labview take it as a runtime error and handles accordingly while teststand keeps on running i.e. if I have 7 steps that are calling that VI, the runtime error from the labview will appear that many times also. Is there any way to handle labview runtime errors directly through TestStand. I have a sequence that will take care of the Runtime Errors in my sequence file.
 
Please help me soon.
 
Thanks in Advance,
Vivek
0 Kudos
Message 1 of 2
(3,137 Views)
Hi Vivek,
 
If the LabVIEW VI is handling the error, then what you probably want to do is make the VI have an Error Out output terminal. You'd have to wire the appropriate error out wires to the terminal of course.
 
This way, when you call the VI from TestStand, you can check the value of the Error Out and decide in TestStand how to handle it (skip the remaining steps, popup a message, etc).
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 2
(3,117 Views)