12-30-2011 01:18 AM
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?
01-03-2012 06:46 PM
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.
01-03-2012 10:59 PM
HI,
I want to read and write the labview parameters in my customed operator interface.