NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Exceptions to Custom Result Properties

Normally ResultList is collecting properties from Step.Result container, however according to this article there are some exceptions.

https://zone.ni.com/reference/en-XX/help/370052W-01/tsfundamentals/infotopics/custom_result_props_ex...

 

So how is this exception implemented? For instance, how to recreate this exception in my custom step type?

 

Also, I found that in the Computer Motherboard example, Video Test step (and all the other Numeric Limit Tests) has more exceptions.

Status, Error, ReportText, Common, and TS are as usual. Numeric and Units are included because they are inside od Step.Result. Limits and Comp are the mentioned exceptions. But what about RawLimits? It is not inside of Step.Result and it is not mentioned exception.

 

Is Status Expression somehow used to make an exception?

 

Why these exceptions exist anyways?

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 1 of 4
(2,617 Views)

Ok I was wrong.

Everything is fine - more or less.

The RawLimits is a part of the Step.Result and all the properties with the flag "include in report" are in the ResultList. 

I don't know why Numeric, Units and RawLimits has this flag also. These properties are already in Step.Results so they should be included in the ResultList anyway. Am I right?

ResultList.png

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 2 of 4
(2,603 Views)

Hi,

I would like to know how do you viewed the ResultList container step data. I know container will be created for each step during run time, but I'm unable to view it. Can you please share the information (Its shown in the image you attached)

Thanks in advance 🙂

0 Kudos
Message 3 of 4
(2,446 Views)

I viewed it in runtime. Set a breakpoint on the step and run the sequence. When it stops on the breakpoint, switch to Variables pane and then you will be able to check the step data.

RunState.png

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 4 of 4
(2,414 Views)