NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Returning a pass fail result from executable

My teststand sequence is largely based around loading execuatables (coded in vb .net) and VI's.  I would like to return pass/fail type results from my executables using the teststand API.  I'm having trouble finding the correct library reference from the API to use this feature.  Can anyone help?
0 Kudos
Message 1 of 2
(2,683 Views)
Hi,

You won't be able to use the TestStand API within the .exe, since there isn't a way to pass the SequenceContext into your executable.  You can use the Call Executable step and determine if the .exe passed or failed by the return value of the .exe.  Your other option would be to use the .NET adapter to call the executable.  Take a look at both of these options and let me know if you have any questions.
0 Kudos
Message 2 of 2
(2,658 Views)