Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Data binding PP - Binding to Promotic object property

Description:
The value of the data binding PP is a property value of the selected Promotic object.
Data binding configurators:
ObjectPath to the Promotic object in the application tree, a data binding has to be created to its property (case sensitive text).

The path describes the location of the object in the tree structure. Each tree level adress is separated by the / character. The immersed Promotic object is referrenced by its name. The superior Promotic object is referrenced by .. characters. The immersed implementation subobject (other than PmObject type) is referrenced by # character, followed by the implementation subobject type definition (e.g. #vars). It means that, the # addressing leaves the Promotic application object tree (created by user) and starts to address the implementation subobjects of the PROMOTIC object. For example "/appdata/data/#vars/Temperature".

Macro expression can be used for input (it is evaluated while the window is opening). See Example3.

PropertyProperty of the selected object.

Macro expression can be used for input (it is evaluated while the window is opening).

Dynamic propertyCheck only in special cases:

Check only when an EXPRESSION is written in the property row, for example:

- Acx.Trends(0).Unit and if the object (in this case the Trend subobject of the ActiveX object referenced by the "Object" and "Property" configurators) can be removed and created again in the runtime.

DON'T check if there is written only the name of the elementary property in the property row, for example, Value, Visible, Item(0), etc.

Note:
This data binding is also functional for Web Panels. The values of this data binding are evaluated via the WEB server communication (with PROMOTIC application). The Web client (i.e. WEB browser) communicates with the WEB server on a regular basis with the defined tiime period - see the configurator "PmPanel > Web Server > Refresh period of HTML pages [s]".
Example1:
Example for absolute path: Binding to the Temperature variable in the object of the PmData type places on the absolute path "/Boiler1/Data".
Object: /Boiler1/Data/#vars/Temperature
Property: Value
Example2:
Example for relative path: Binding to the Temperature variable in the object of the PmData type with the name Data places beside this panel (beside PmPanel object where this binding is used).
Object: ../Data/#vars/Temperature
Property: Value
Example3:
Example for using Macro expression $.par: Binding to the Temperature variable in the object of the PmData type places on the absolute path "/Boiler1/Data" (or Boiler2,3,4) according to the nmb parameter value.
Object: $.join("/Boiler",$.par("nmb"),"/Data/#vars/Temperature")
Property: Value
Example4:
Example for ActiveX: Binding to the Property property of the ActiveX object that is configured by the PmActiveX object with the name Ax0.
Object: /Ax0
Property: Acx.Property
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice