AccessPath - property of the ExtOpcDa object
Description:
Access path to the variable in the OPC server.
Syntax:
String AccessPath
Values:
Returns the access path to the variable in the OPC server.
Note:
Property access for
read only.
The value of this property is defined in the "
AccessPath" configurator of this object.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
value = pMe.Pm("/data/#vars/Temperature/#ext/opcc").AccessPath;
// or
value = pMe.Pm("/data/#vars/Temperature").Extension("opcc").AccessPath;
// or
value = pMe.Pm("/data").Item("Temperature").Extension("opcc").AccessPath;
value = pMe.Pm("/data/#vars/Temperature/#ext/opcc").AccessPath
' or
value = pMe.Pm("/data/#vars/Temperature").Extension("opcc").AccessPath
' or
value = pMe.Pm("/data").Item("Temperature").Extension("opcc").AccessPath
Example2:
The example for obtaining this property by
Macro expression from another data extension via
pVar variable.
Example3: