NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

String limit does not appear in result list

Hello

 

I have a sequence file with a sequence call "String limit test". After running the sequence from a process model, the "Limits" container does not appear in the result list of the main sequence. I have checkec the IncludeInReport flag for the Limits container, still I don't see it.

 

Basically I need this information after calling the MainSequence in the client file, in order to create a report file. How to inclide the variable in the ResultList[]?

 

Madottati

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

Madottati,

 

All the data from Step.Result will be copied to Locals.ResultList. Limits container for the step is outside Result container and hence is not copied to the ResultList. IncludeInReport flag affects only properties that are in a result list or that TestStand copies to a result list.

 

https://www.ni.com/en/support/documentation/supplemental/08/teststand-report-generation-and-customiz... contains more details about what properties gets added to the Result List.

 

You can use Additional Results feature toa add Limits container to the ResultList.

 

- Shashidhar

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

The NI Process Models call the Initialize Execution Entry Point sequence in ModelSupport.seq

 

The Include Limits in Results and Include Comparison Type in Results steps in that sequence make the following API calls:

 

RunState.Execution.AddExtraResult( "Step.Limits", "Limits"),

RunState.Execution.AddExtraResult( "Step.Comp", "Comp")

 

This is how the models make sure the limits are in the result list even though they are not under the Results property.

 

I'm guessing you are using a modified model, or no model.

0 Kudos
Message 3 of 3
(4,741 Views)