Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ItemId - property of object ExtOpcClient

Description:
Text address/identifier of the variable on the OPC server.
Syntax:
ItemId As String
Calling:
sId = oExt.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 of obtaining this property in script.
value = pMe.Pm("/data/#vars/Temperature/#ext/opcc").ItemId
or
value = pMe.Pm("/data/#vars/Temperature").Extension("opcc").ItemId
or
value = pMe.Pm("/data").Item("Temperature").Extension("opcc").ItemId
Example2:
Example of obtaining this property by Macro expression from another data extension via pDE variable.
Example3:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice