04-17-2011 08:23 PM
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
04-18-2011 10:01 AM - edited 04-18-2011 10:01 AM
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
04-19-2011 12:17 AM
04-19-2011 12:59 PM
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.