From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

PropertyExists function

Solved!
Go to solution

 

if PropertyExists(Parameters.Result.AdditionalResults)

{

   do something....

}

The above If condition works if a step result has AdditionalResults but errors out if AdditionalResults is not present for a step. 

 

Is there a way to check if a step has AdditionalResults and if a step does not have AdditionalResults?

 

 

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 2
(2,708 Views)
Solution
Accepted by topic author lvrat

Aha...PropertyExists does work, was missing quotes.

Sovled!!

*************************************************
CLD
*************************************************
Message 2 of 2
(2,706 Views)