NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Numeric Limit Test - Accessing only the failed tests

I would to access only the failed tests in a multiple numeric limit test.  The specific information I want to access is the measurement value, low limit, high limit, and comparator type.  I need to access these pieces of information during runtime from a Message Popup, therefore i have to use the Message Expression field in the "Text and Buttons" tab of the Message Popup step to access this information.

[DL]
0 Kudos
Message 1 of 5
(3,523 Views)

Hi,

 

A good example of this can be found in the TestStand\Examples\Callbacks and look that the SequneceFilePostFailure callback example.

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,516 Views)

Do you have any questions working with this example? Did you find it helpful?

 

Thanks and Happy Halloween!

National Instruments
0 Kudos
Message 3 of 5
(3,501 Views)

I did not see that example in that directory. The only examples i have are:

 

PostStepFailureCallback

PostStepRuntimeErrorCallback

PreUUTCallback

 

The first two call backs only have examples of Numeric limit test.  I would like to get access to the Mulitple numeric limit test variables.

[DL]
0 Kudos
Message 4 of 5
(3,494 Views)

Hi,

 

PostStepFailureCallback is the one you want to start with. The only difference is where you get the data from the Step.Results.

For the Limits etc you will need to look in the Measurement property. Also, beware that you are dealing with an array of data.

 

 

Regards
Ray Farmer
0 Kudos
Message 5 of 5
(3,461 Views)