NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test Stand results filtering

I wish to run two different sequence programs on the same PC using Test Stand, one sequence program to record all results and another sequence program that needs to record failures only. Currently I can only achieve this by manually changing the results filtering expression in the report model each time I swap from one program to another. Is there a way of changing the results filtering expression programatically with the test sequence so that I do not have to manually keep changing the results filtering expression?
 
 
0 Kudos
Message 1 of 7
(3,728 Views)

Hi,

Use the Overide ReportOptions Callback in each SequenceFile to setup the required report options. This Callback has the ReportOptions container past to it via the Parameters which contains the setting defined by the Configure ReportOptions dialog. You can then changes these settings which will be passed back to the Process Model entry point sequence (Test UUT's or Single Pass) when it returns to the caller.

There is an example in the TestStand examples folder.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(3,723 Views)

I cannot find an example, can you send a link to it? Where do I find the 'Overide ReportOptions Callback'?

Regards

 

 

0 Kudos
Message 3 of 7
(3,719 Views)

Hi,

check this post.

http://forums.ni.com/ni/board/message?board.id=330&message.id=12932#M12932

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(3,714 Views)

Not much help there either as the examples shown are in Test Stand 3.5, whilst I am using Test Stand 2.0. Have you got an example in ver 2.0?

 

regards

 

0 Kudos
Message 5 of 7
(3,712 Views)

HI,

find attached a 2.01 version.

The ReportOptions sequence only sets the filter up  and for Passed/Done/Skipped so if you run the example you will only have the Failed step which is the test test.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,698 Views)

Thanks for that, it works well.

 

 

0 Kudos
Message 7 of 7
(3,689 Views)