Skip to main content

Relations: links within the i3 pro interface

Object relations make the interface respond automatically to system events

A relation changes a graphic item's property when an equipment feedback, token, or another item's property changes. Relations are widely used in visualization interfaces. To see the relations involving a particular item, open PROGRAMMING > Relations.

A relation contains a reference to the data destination and a reference to the data source. The source value is assigned to the destination as is, without changes:

Studio2019_Drivers_Relations_Structure.png

Example: an item's text field receives the value of a system token containing the current date. Whenever the date changes, the text field's value changes:

Studio2019_Drivers_Relations_Sample.png

Source and Destination. Either the data source or destination can be:

  • Project token - a project variable
  • System token - a variable containing system information
  • Page, Popup, Item - an interface item's property
  • Feedback - a feedback channel returning an equipment value
  • Driver token - a driver variable
  • Module tag - a feedback channel returning a value from a Lite module

A relation does not have to involve a graphic item: it can, for example, write data from a system token to a project token. This is uncommon but possible. In that case, no graphic item exists whose properties show the relation. Use the Relations window, which displays all configured relations and lets you create new ones:

Studio2019_Drivers_Relations_AllRelationsWindow.png