NIVeriStandAdd-Ons / VeriStand-steps-for-TestStand

NI TestStand Step Types for automating NI VeriStand.
Other
8 stars 16 forks source link

Using local variables as argument fails #46

Open ManuKlause opened 5 years ago

ManuKlause commented 5 years ago

Hi there,

I am using a RT Sequence Action in Teststand that expects 2 double parameters. If I use a local variable for the parameter value, the values seem not be be forwarded to Veristand, because I see no change in the User Interface. However, when I use a fix value like 24, it works. The local variable is also of type double (default type).

Teststand 2017 Veristand 2018 ni-veristand-2018-steps-for-teststand_8.1.0+115

ManuKlause commented 5 years ago

It works with the following workaraound: Select the seqeuence > properties > Property Browser > Veristand > ParamValuesArray

Change here {"Locals.MyVariable"} to {Str(Locals.MyVariable)}. The brackets and " are important here. But this cant be intended use?