The Locals variables are one of multiple ways to store or use values in NI TestStand. Use the method that works for your use case, being sure to match the needed data type. |
Parameter | Data Type | Value | Example |
---|---|---|---|
arg1 | String | The name of the thing to which you are sending a property value. | "TestStandRemoteThing" |
arg2 | String | The name of the property to which you are sending the value. | "PumpEnabled" |
arg3 | Boolean | Boolean value of sent from NI TestStand. | Locals.PumpEnabled |
Parameter | Data Type | Value | Example |
---|---|---|---|
arg1 | String | The name of the thing to which you are sending a property value. | "TestStandThing" |
arg2 | String | The name of the property to which you are sending the value. | "PumpValue" |
arg3 | Double | Numeric value set from NI TestStand. | Locals.PumpValue |
Parameter | Data Type | Value | Example |
---|---|---|---|
arg1 | String | The name of the thing to which you are sending a property value. | "TestStandRemoteThing" |
arg2 | String | The name of the property to which you are sending the value. | "SerialNumber" |
arg3 | String | String value sent from NI TestStand. | Locals.SerialNumber |
Parameter | Data Type | Value | Example |
---|---|---|---|
Return Value | Boolean | A Locals variable to which to bind the return value. | Locals.PumpEnabled |
arg1 | String | The name of the thing from which you are retrieving a property value. | "TestStandRemoteThing" |
arg2 | String | The name of the property from which you are retrieving the value. | "PumpEnabled" |
Parameter | Data Type | Value | Example |
---|---|---|---|
Return Value | Double | A Locals variable to which to bind the return value. | Locals.PumpValue |
arg1 | String | The name of the thing from which you are retrieving a property value. | "TestStandRemoteThing" |
arg2 | String | The name of the property from which you are retrieving the value. | "PumpValue" |
Parameter | Data Type | Value | Example |
---|---|---|---|
arg1 | String | The name of the thing from which you are retrieving a property value. | "TestStandRemoteThing" |
arg2 | String | The name of the property from which you are retrieving the value. | "SerialNumber" |
arg3 | String | As strings cannot be returned to NI TestStand, this value is the location where the value is stored. | "Locals.SerialNumber" |
Parameter | Data Type | Value | Example |
---|---|---|---|
arg1 | String | The name of the thing on which you are executing a service. | "TestStandRemoteThing" |
arg2 | String | The name of the service to execute. | "GetEventSubscriptions" |
arg3 | String | The payload being sent, such as a JSON payload matching the ThingWorx service input parameters, if needed. | "{\"TestName\":\"Pump1\"}" |
arg4 | String | The output, such as a local variable in NI TestStand where the result is stored. | Locals.JSONResult |