NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEWParameter and LabVIEWArgument

 

I want to get the sequence step parameter value via step->module->labview module->labviewparameter->valueExpr, but I can not get the correct result, It seems that it always return the defalut value of different data type, for example, numeric:0  string:"", boolen:"false"

 

1. Is that method right?

2. what is the differences between labviewparameter and labviewargument?

3. How can I get the labview argument of a specific labview paremeter?

0 Kudos
Message 1 of 3
(2,603 Views)

Hi Cluo,

 

You can access the parameters of a LabVIEW code module using the TS container within the step (you must show hidden properties in Station Options»Preferences in order to see it).  The expression to use would be:

 

Step.TS.SData.ViCall.Parms["myParameter"].ArgVal

 

Note that the Parms property is an array containing the parameters, and can be indexed by name or by index.

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 3
(2,571 Views)

HI,

I want to read and write the labview parameters in my customed operator interface.

0 Kudos
Message 3 of 3
(2,568 Views)