01-19-2015 05:16 AM
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
			
    
	
		
		
		01-19-2015
	
		
		07:00 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		01-01-2025
	
		
		10:31 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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
01-19-2015 11:29 AM
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.