NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to show/hide a step in the report on the fly?

Solved!
Go to solution

I want to show/hide a step (example the built-in Wait) in the report based on a condition.  Is that possible?

In the report, it looks like:

Wait        Done

 

George Zou
0 Kudos
Message 1 of 4
(1,686 Views)

1. I think you can add a condition in PostResult engine callback.

 

2. It is possible to change result recording step property programmatically but I think it will alter sequence file as well (not only in run-time because it is shared AFAIK).

 

3. You can use result plug-in filters.

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 2 of 4
(1,655 Views)

Thanks, but how do I remove a step in SequenceFilePostResults ?

 

George Zou
0 Kudos
Message 3 of 4
(1,640 Views)
Solution
Accepted by topic author zou

Try Parameters.DiscardResult in SequenceFilePostResultListEntry.

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
Message 4 of 4
(1,634 Views)