NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestReport Callback Parameters

Solved!
Go to solution

Hello,

In the TestReport callback I am attempting to call a subsequence that will create a custom report (in addition to the default report).  The problem I face is most of the information for the custom report is located in "MainSequence.Locals."  Is there a method to pass the variables via "TestReport.Parameter" or find it using the RunState stack?

 

Thanks!

0 Kudos
Message 1 of 3
(3,190 Views)
Solution
Accepted by topic author NaCl-H2O

I don't believe you can access the locals of your completed MainSequence execution - they are discarded when the MainSequence returns to the Process Model Entry point from the MainSequence callback. Assuming that you're using the TestReport Callback in your test sequence file, if you moved/copied your information to the FileGlobals of your test sequence file before you left the MainSequence, then the TestReport callback in your test sequence file could see them.

 

Hope this helps

 

-Jack

0 Kudos
Message 2 of 3
(3,181 Views)

Hey Jack,

Thanks for the reply, that should work just fine.

 

-Brant

0 Kudos
Message 3 of 3
(3,170 Views)