NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Display all measurements in Multiple Numeric Limit Test using UI SeuqenceView Control

Hi, I found only the total result in Multiple Numeric Limit test can be show in UI SequenceView Control. How can I display more detail information in it?

 

For example, If I want to display like this:

Mulitple Numeric Limit test                       FAIL

Measurement1                                        PASS

Measuremtnt2                                         FAIL

 

 

Is it possible in UI sequenceview control?

 

Thanks in advance

0 Kudos
Message 1 of 4
(3,353 Views)

Since you can't loop in an expression, this will be tricky. You could have an expression that handles up to, say, 10 measurements if you know that you aren't very likely to have more than that. I think you can also use the Str() expression function to convert all of the values of an array into a string so that might be worth a try as well.

 

-Doug

0 Kudos
Message 2 of 4
(3,339 Views)
The Multiple Numeric Limit Test shows the all the results of all the limit testing in the test report, or you can get the results via the step.measurement variable. However, there is only one result for this step (if one of the test of Multiple Numeric Limit Test fail, then the whole step fails)
无惧边界
0 Kudos
Message 3 of 4
(3,321 Views)

You might be interested in this community example: Recursive Expression in TestStand.

 

It is possible (though not traightforward) to loop in an expression using recursion.  The example above shows how to use recursion in an expression to list all of the limits of a multiple numeric limit step.  This is similar to what you want to do with measurements.

 

I honestly think you're better off with Doug's suggestion to hard-code a maximum number of measurements to display as using recursion in expressions is not easy.

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 4 of 4
(3,311 Views)