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
(1,613 Views)
0 Kudos
Message 2 of 3
(1,527 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, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 3 of 3
(1,459 Views)