04-10-2018 01:24 PM
Hi
I am new to teststand and learning. I have a step which calls a labview vi module. The vi basically reads input from the previous step in the sequence and checks something and throws either no error with error code 0 or error with error code 3333. I am trying to create a custom message pop up when the error code 3333 occurs with 3 buttons 1. continue (basically ignoring the error), 2. Clean up (basically going to cleanup in the sequence) and 3. terminate. After cleanup and terminate I want the string value in the error out in the labview output to be displayed in the final UUT Result: window. Please suggest how could I implement this or point to any examples already there. Thanks.
04-11-2018 09:31 AM
This example but for sequencefilepoststeperror instead of failure: https://zone.ni.com/reference/en-XX/help/370052R-01/tsexamples/infotopics/callbacks_sequencefilepost...
Also, the error should show on the report by default as long as the step throwing the error is creating a result in the result list.
04-11-2018 12:46 PM
vvk07,
I also found these two forum posts that may be helpful:
Jumping straight to cleanup: https://forums.ni.com/t5/NI-TestStand/Jumping-To-Main-Sequence-Cleanup-While-In-Subsequence/td-p/363...
Terminating execution: https://forums.ni.com/t5/NI-TestStand/How-to-programmatically-terminate-a-sequence-execution-in/td-p...
VanCamp
04-12-2018 10:46 AM
Thanks for all the pointers to the example. I am working on to understand how the example works. Also if you could point to the documents and examples about the classes and the methods used in the expressions would be highly helpful. Thanks
04-12-2018 12:01 PM
Everything you need is in the TestStand help. I click on the index page and type the method of interest.
It is also helpful to take the TestStand trainings if you haven't done those. They provide some insight into the architecture of TestStand and how things are "connected".