Update cookies preferences

PmaData - Deatiled object description

See: The PmaData object

The variables defined on the "Data" tab can be accessed from a script, for example the access to the first variable (zero-based index) named "Aerial":
v = pMe.Pm("/Data/Pressures").Item(0).Value
v = pMe.Pm("/Data/Pressures").Item("Aerial").Value
v = pMe.Pm("/Data/Pressures/#vars/0").Value
v = pMe.Pm("/Data/Pressures/#vars/Aerial").Value

#vars identifier:
In the PmaData object, the #vars identifier is used to enable variables (of the PmVar type) defined on the "Data" tab. This identifier can be used e.g. in the Pm method, or in the "PP - Pma object property" data binding. For example the method Pm("data1/#vars/aaa") returns the data item aaa from the object named "data1" of the PmaData type.
Identifier #ext:
References to Data extensions objects in the PmVar variable can also be done directly by extending the path of the Pm method using the #ext identifier.
This can be used in the Pm method or in PP binding in the application and in panels.
For example the method pMe.Pm("/data/#vars/Temperature/#ext/al") returns the data extension with al identifier (ExtAlarmAnalog) in the "Temperature" variable (PmVar) in the data object (PmaData object).

Various operations can be performed over variables in the PmaData object. For example:
- Offering values (for read and write) into the Web by means of the XML format. The client requiring data from this Web component is of the PmDataClient type from the licence point of view.
- Every variable of the object can be extended by other functionality (see Data extensions), for example for connection to alarms, OPC or DDE communication, etc.
- Saving to the value of the String type by the SaveToString method.
- etc.
See also:
- PmVar (object)
- PmaDataTable (object)
- PmaNumber (object)
- PmaString (object)
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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