Connecting graphic objects to view

Connecting to view allows to create a relation of the graphic object to a D2000 system object. The graphic object may not display only the value of the system object, but it can change its color or shape in dependence on the state of the system object.

Connection parameters are configured in the palette Connect object.


Connecting the object to view

  1. Select the graphic object you want to be connected.
  2. In the palette Connect object define the following parameters:

    • Select the D2000 system object (1) or a local variable (2), whose attribute will be displayed by the graphic object.
    • When you define the object of the Structured variable type, you must define the column name (the parameter Column) and the row number (the parameter Row). For the object of the Value array type, you must define the item (the parameter Row). Row value can be also given dynamically - using an indexed local variable (the button (3) - L).
    Connect object palette
  3. Click the tab Repaint and select the method to repaint (redraw) the graphic object.
    Connect object palette - Repaint tab

    The methods determine how the graphic object will be redrawn in the D2000 HI process when the value of the connected D2000 system object changes and how it will be redrawn when blinking. There are the following methods:
    • All object area - all the graphic object together with its background is redrawn.
    • Object - only the graphic object is redrawn.
    • Object with background - object with a rectangle as a background will be repainted. This background rectangle takes a background color. The rectangle color is the same as the background color.
  4. If tab Dynamics is placed in the palette, you can define the parameters of the dynamic view. The view method is described in the topic Connecting to dynamic view.
  5. To confirm all defined parameters, click the button .

Note: Clicking the button sets the connecting parameters according to the parameters of the last connected object.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .