NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

programattically change to atml?

Solved!
Go to solution

Hi,

If my default report format is html, and I want a particular sequence to have atml, or vice versa, is there a way to programmatically change that in the sequence?

0 Kudos
Message 1 of 4
(3,944 Views)
Solution
Accepted by topic author david_jenkinson
Hey David,

Try the ReportOptions callback. This will let you change the report settings programmatically at the beginning of execution.
0 Kudos
Message 2 of 4
(3,934 Views)

Hi,

I've just now got a chance to get back to this.  From what I gather from the help, the proper way to override the contents of a model callback such as ReportOptions is to put a call to it in the client sequence file, is this correct?  This callback does not seem to execute otherwise, because I put a breakpoint in reportoptions within the model, ran the sequence, and my sequence did not halt, though it did generate a report.  This seeems to be what is being done in the example, just wondering if this is always the method to customize the contents of a callback.

 

Thanks

David Jenkinson

0 Kudos
Message 3 of 4
(3,809 Views)

Nevermind, I've just realized those callbacks are available for enabling via the right-click "sequence callback" item in the "sequence" area.  I never knew those callbacks were available for client sequences.  I've only ever enabled certain callbacks from the process model sequence for "poststep" and "prestep" callback sequences.  Thanks for the reply

0 Kudos
Message 4 of 4
(3,806 Views)