NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable parameter exists check

I pass some parameters to a sequence in a loop. Some of these may or may not exist depending on the loop.

 

Is it possible to pass optional parameters to a sequence? So that a parameter can either exist or not.

0 Kudos
Message 1 of 3
(217 Views)
0 Kudos
Message 2 of 3
(131 Views)

How about having a container in your subsequence parameters and passing this by reference?

In your subsequence you can use PropertyExists function to determine what do you have in your container.

Something like this you have in callbacks e.g. check how step results are passed to the post result callbacks: sometimes in your result you have number, sometimes string and sometimes pass/fail status. 

Michał Bieńkowski
CLA, CTA
Averna
Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 3 of 3
(63 Views)