NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add results to report from sequence call disabled in report options ?

Hello,
I need to add text to report from a sequence called by a sequence call. The record results option for the sequence call is disabled because the sequence call is normally done thousands of times. Therefore, I don't want to fill in useless text in the report. But, if a certain condition in called sequence fulfills, I would put a text into the report. (Yes, this is related to a sporadic communication problem with the instrument which I want to record into the report.) Which options I have ?
I have attached an example which doesn't add the text from the sequence to the report.
Regards,
Petri
 
0 Kudos
Message 1 of 5
(3,274 Views)

Hi Petri,

One way would be to have a None adapter step set to record, and you call when every your problem occurs

eg
IF (expression)
     ok
ELSE
     NONE Adapter step set to record problem
END

You dont want to just include a step with a precondition as it will get recorded as Skipped.

Regards

Ray Farmer

 

Message Edited by Ray Farmer on 06-08-2006 09:21 AM

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,267 Views)
Hello Ray,
I encounter same behaviour with NONE adapter action step with post-expression as with a statement step as in my first example. With other words, if record results in sequence call in mainsequence is disabled, I cannot get any records into the report.
Attached a modified sequence using NONE adapter action.
Regards,
Petri
0 Kudos
Message 3 of 5
(3,264 Views)

Petri,

You have to actually have the MainSequence and sub sequence Report Option set to allow reporting with all other steps switch off except for the None Adapter step for this to work.

 

Is you MainSequence/SubSequence only called once?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,258 Views)
My subsequence is called thousands of times during a complete test. Therefore, I don't want any "begin sequence ... end sequence" text in report.
Regards,
Petri
 
0 Kudos
Message 5 of 5
(3,256 Views)