NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to by-pass the false condition in "Select" command

hi all,
 
i am facing a problem,
 
there is a situation where an element will be added to the array only "if a condition is satisfied",
and no element should be added to the array if the condition is not satisfied. How to solve this
without using case structure and "select" command (of comaprision pallette) as both are having "false" condition which when encountered,
an empty value/ empty string is getting appended to the array. i don't want any data to be added to the array if the condition is not met.
 
one more point is that this condition is checked in a loop.
 
Regards,
santosh M V S
 
Regards,
santosh
0 Kudos
Message 1 of 2
(2,960 Views)

Sounds like you need to use a pre-condition on the step, which if true, will execute the step and add your element.

Maybe you can post an example of what you are trying to do.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,952 Views)