NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to store ASCII reports from a sequence call back in to a separate file?

Can any one let me know how to store report from a call back function in a sequence ? When I run single pass I get total report from all the call backs. Instead I want to have separate text reports stored for each call back. I am using Teststand 4.2.1.

0 Kudos
Message 1 of 5
(3,158 Views)

When you say Call back do you mean SequenceCalls from the MainSequence as Sub-sequences?

 

Or do you mean Callbacks as in PreUUT, PostUUT?

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,153 Views)

Yes, sequence calls from the main sequence.

0 Kudos
Message 3 of 5
(3,148 Views)

Set the sequence calls to run as new executions.

0 Kudos
Message 4 of 5
(3,143 Views)

To elaborate on what Allen is suggesting, you can use a new execution sequence call combined with the sequential model and the "Single Pass" entry point to have it generate a separate report for that sequence. You should also set the "Wait for Execution to Complete" setting on the advanced settings panel to "Before executing next step".

 

Another alternative is to customize report generation more drastically either by modifying the process model or overriding the Test Report callback and implementing your own report generation functionality that creates separate files for each sequence call. There is no built-in feature to generate a separate report per sequence call.

 

Hope this helps,

-Doug

0 Kudos
Message 5 of 5
(3,129 Views)