NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Access UUTResult.Status from my Code

Hi,

How do I access "UUTResult.Status" from my code?

I can access the Serial number from "RunState.Root.Locals.UUT.SerialNumber" but I can't find where "UUTResult.Status" is stored.

Thanks & Regards,

Shane.

0 Kudos
Message 1 of 4
(3,293 Views)

Hi,

 

Is that a local in your Sequence?

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,274 Views)

Hi Shane,

 

I am not sure if this is what you are looking for, but the Pass/Fail status of the UUT is set by the MainSequence Callback step within the process model that you are using.  You can get the value of this from the only element that is stored in the result list. 

Cheers,
Kelly R.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,257 Views)

Hi,

I was actually looking for the status of one my subsequences..Which I got from RunState.Sequence.Main[Sequence ID].Result.Status

 

Thanks for all the help and sorry my description wasn't a bit clearer in my post.

Regards,
Shane.

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