Promotic

ItemId - property of the ExtComm object

Description:
Text address/identifier of the variable for the corresponding communication type.
Syntax:
String ItemId
Values:
Returns text address (identifier) of the variable for corresponding communication type.
Note:
Property access for read only. The value of this property is defined in the "ItemId" configurator of this object.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard

sId = pMe.Pm("/data/#vars/Temperature/#ext/opcc").ItemId;

// or
sId = pMe.Pm("/data/#vars/Temperature").Extension("opcc").ItemId;

// or
sId = pMe.Pm("/data").Item("Temperature").Extension("opcc").ItemId;
Example2:
The example for obtaining this property by Macro expression from another data extension via pVar variable.

History:
Pm8.03.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.