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
(1,754 Views)
Solution
Accepted by topic author lvrat

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

Sovled!!

*************************************************
CLD
*************************************************
Message 2 of 2
(1,752 Views)