NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TS2012 - SequentialModel customization to include sequence version and path in report header

Solved!
Go to solution

I've been able to add a PreUUT callback to a single sequence to allow me to include the SequenceFile.Version and SequenceFile.Path to the header of my report.

 

Station ID: TESTENG6-DMA
Serial Number: NONE
Date: Friday, October 17, 2014
Time: 9:35:09 AM
Operator: pbrooks
Execution Time: 14.0482135 seconds
Number of Results: 25
UUT Result: Passed
Part Number: 423-00079
Manufacturer Name: *******
Manufacturer Location: *******
Test Mode: Production
Sequence Version: 0.0.0.130
Sequence Path: C:\Sonus\UX\UX Common.seq

 

In the callback, I get the sequence file reference using RunState.SequenceFile.AsPropertyObjectFile.

 

I don't want to add this callback to every test sequence, so I want to modify the SequentialModel PreUUT sequence to add the SequenceFile.Version and SequenceFile.Path to the report header instead.

 

What technique should I use to get a reference to the running sequence file from the process model PreUUT?

0 Kudos
Message 1 of 2
(4,455 Views)
Solution
Accepted by topic author PhillipBrooks

Phillip,

 

You can use RunState.ProcessModelClient to access the client sequence file in the process model.

 

Hope it helps!

0 Kudos
Message 2 of 2
(4,449 Views)