NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Message Popup based on labview errorout

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.

0 Kudos
Message 1 of 5
(2,698 Views)

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.

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(2,655 Views)
0 Kudos
Message 3 of 5
(2,649 Views)

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

0 Kudos
Message 4 of 5
(2,629 Views)

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".

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