NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get sequence name and pass/fail status?

HI,

I need your assistance in order to achieve the following goal:

I have about 10 sub-sequence steps in the main sequence.
For those steps only, I'd like to print out in a window the name of the sequence and the resutl.

I meet dificulties since i have the sub-seq result, only after it ends.  It means that i can print its status only in the following step.
is there a way around it?

I wish to be able to write all this information in the clean up of the sub-seq step.

Thanks
Rafi

0 Kudos
Message 1 of 3
(3,358 Views)
Hi Rafi,

You will not be able to print the result of a subsequence call in the same step as the subsequence call, because both post-step substeps and post-expressions are run before the status is evaluated.  As you mentioned, you can do this in the following step, or you can use the SequenceFilePostStep callback to specify some customized behavior to follow your sequence call steps.  This callback will run after every step, so you would have to put some extra logic into this callback if you are using multiple step types.

So, are you trying to print the result of each subsequence call separately?  How do you intend to display the status?  Let me know if you have any other questions about how to implement this.
Regards,


Marty H.
National Instruments
0 Kudos
Message 2 of 3
(3,328 Views)
Thank you very much,

Indeed I ended up using the PostStep Callback and it works fine.  It is implemented with a seperate vi that runs a window and I write these resutls into that window.

Thanks again
Rafi
0 Kudos
Message 3 of 3
(3,325 Views)