NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Result Recording Option dynamically

Solved!
Go to solution

I would like to set some tests to record only (not for score) depending on the part number being tested. Is Result Recording Option the way to go about doing this? I am attempting to set it in the Expression field to something like the below. How can I get this to work?

 

Step.ResultRecordingOption = Disabled

0 Kudos
Message 1 of 3
(299 Views)
Solution
Accepted by topic author jruland1

Something similar to this.

 

RunState.Root.Locals.UUT.PartNumber == "11111" ? Step.ResultRecordingOption = ResultRecordingOption_Disabled : ""

 

Message 2 of 3
(288 Views)

<Redacted>

 

That works! Thanks!

0 Kudos
Message 3 of 3
(273 Views)