MSIMsgDGroupDevicesList Property
General info
Label |
Device List |
Description |
This list identifies the devices in the group and maps device names to path information. |
Data type |
String |
Default value |
"{\"meta\":{\"id\":\"urn:id:58:3\"}}" |
Type |
TableSchemaBound |
Code |
12466 |
Symbolic name |
MODEL_PROP_MSIMSGDGROUPDEVICESLIST |
Lua access code |
syslib.model.properties.MSIMsgDGroupDevicesList |
Available since |
1.72 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
Schema Definition
Name: MSIMsgDGroupDevices
Description: This list identifies the devices in the group and maps device names to path information.
- Columns
-
Column Data Type Nullable Unique Default Min Max Description DeviceName String false false Name of the device DevicePath String false false Path of the device TriggerItem String false false Path of the trigger item for that device
Examples
Read from or write to the MSIMsgDGroupDevicesList property.
-- Read from the MSIMsgDGroupDevicesList
syslib.getvalue("<OBJECT FULL PATH>.MSIMsgDProperties.MSIMsgDGroupOptions.MSIMsgDGroupDevicesList")
-- Write to the MSIMsgDGroupDevicesList
syslib.setvalue("<OBJECT FULL PATH>.MSIMsgDProperties.MSIMsgDGroupOptions.MSIMsgDGroupDevicesList", '{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}')
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the MSIMsgDGroupDevicesList
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.MSIMsgDProperties.MSIMsgDGroupOptions.MSIMsgDGroupDevicesList"));
// Write to the MSIMsgDGroupDevicesList
Result result = sli.WriteValue(sc, new WriteItem('{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}', "<OBJECT FULL PATH>.MSIMsgDProperties.MSIMsgDGroupOptions.MSIMsgDGroupDevicesList"));