NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read information that appears in the report, within a sequence?

Hi
 
I would like to be able to access the UUT serial number, start time and test result, once the main sequence has finished, within Cleanup - is there a way of doing this? I'm using TestStand 3.1 and Labview 7.1.
 
Thanks
 
0 Kudos
Message 1 of 5
(3,277 Views)

Hi,

You could do this by including The ProcessCleanup sequence callback in you Sequence File.

Within this sequence you can access

RunState.Caller.Locals.UUT.SerialNumber for the serial number

RunState.Caller.Locals.Report for the whole report

RunState.Caller.StartTime.Text for the start time

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,272 Views)

Hi knigth2

just visit this page Colelcting step results data from process model?

http://forums.ni.com/ni/board/message?board.id=330&thread.id=17440

greetings

juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 5
(3,256 Views)

While you certaintly could use the method described in that post (navigating through the ResultList array), I think the alternate method (using a callback) is much simpler and easier.

Probably the PostUUT callback would be easiest, since it has a parameter directly for sequence result.  If you use the post UUT callback, you could use the following:

Parameters.UUT.SerialNumber     for the serial number
Parameters.Result.Status     for the status string
RunState.Root.Locals.StartTime.Text     for the start time



Message Edited by Josh W. on 12-13-2007 04:51 PM
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 4 of 5
(3,241 Views)
Thanks to all
that's a great help
 
Bruce
0 Kudos
Message 5 of 5
(3,208 Views)