NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Locals.ResultList limits

Hello,

 

my process model executes a client sequence, where I call several NumericLimitTest sequences. After the execution I would like to create my own report, accessing the Locals.ResultList array in the process model. I found everything what I need, except the limits for each step. How to get them? I have browsed through the Locals.ResultList, but I don't find my set limits...

0 Kudos
Message 1 of 15
(4,908 Views)

You should see an array called Measurement in the results for that step.  Inside of there you will see each of your measurements.  Under that you will find Limits.

 

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 15
(4,907 Views)

That would be nice! But I just can't see it. What do I do wrong?

Underneath the SequenceCall it is also not there...

 

ResultList.jpg

0 Kudos
Message 3 of 15
(4,902 Views)

Your steps are sequence calls, not numeric limits. The data for the sequence call results, if your steps are configured to get results from the sequence call, should be under the TS.SequenceCall

0 Kudos
Message 4 of 15
(4,896 Views)

That is odd!  Are you looping on those steps?  Can you send me a simple sequence file that reproduces this behavior?

 

Does it happen with the none or other adapters? 

 

My picture was of a multi numeric limit.  Yours should just be under Limits.  However, I can see it doesn't exist.

 

I was going to suggest that the default values wouldn't show up but then I tested it and they should.  However, you can try to move them off of 9 and 11 and see if that changes anything?

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 15
(4,895 Views)

flaborde,

 

That is incorrect.  I tested it out and it shows up fine using a sequence call as a numeric limit test.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 6 of 15
(4,894 Views)

You are right, I saw the sequence call icon and assumed it was not a numeric limit becuase it isn't very common. Sorry 😛

 

The other thing it could be is that the sequence is not being run in Single Pass or Test UUTs using one of TestStand's models. As an optimization, the models themselves are the ones that add the limits to result list when executing Test UUTs or Single Pass. 

 

Hope this helps,

- Francisco

Message 7 of 15
(4,889 Views)

flaborde,

 

Also not true... 🙂

 

Running in interactive mode (i.e. no model) will yield a Locals.ResultList.  Either way though it doesn't matter because according to the picture the result list is there.  It just doesn't have a Limits subproperty...which it should. 

 

This leads me to believe that it is a modified step type which is why I wanted to see a small example reproducing the behavior.

 

Cheers,

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 8 of 15
(4,886 Views)

I did not say that the models create Result List, I said that the models "add the limits to result list". When I run using the process models Single Pass with a sequence call which does numeric limit test I do see the limits. 

0 Kudos
Message 9 of 15
(4,883 Views)

OK!  I was wrong and you were right flaborde....

 

The limits are coming in non interactive mode.

 

Hmmmm... learn something new every day.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 10 of 15
(4,881 Views)