PmaData - Deatiled object description

See: The PmaData object
The variables defined on the "Data" page 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" page. This identifier can be used e.g. for the Pm method, or for the PP data binding in the application and in panels. 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).

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 license point of view.
- Every variable of this object can be extended by other functionality (see Data extensions), for example by alarm connections, OPC or DDE communication, etc.
- Saving to the value of the String type by the SaveToString method.
- etc.
PROMOTIC 9.0.8 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice