Modes to control connected object

You can select one of three modes to control D2000 system objects:

The mode Set directly is designed for quick setting of values of D2000 system objects of numerical types. Clicking the graphic object in the picture, opened in process D2000 HI, opens the control window reduced to one input field. Entering a value into the input field, you can directly set the value to the object. To set the value, press the key ENTER. To interrupt entering the value, press the key ESC.

The mode Open window means that clicking on the graphic object in the picture, opened in process D2000 HI, opens the control window of connected object. The type of the control windows depends on the type of connected object.
For objects of Picture and Graph types, the mode enables to open their information windows on the D2000 HI desktop. In the palette, there will be displayed the button Position, that allows user to define a position of the information window on the D2000 HI desktop.

Connect object palette

Inherit instance

The parameter Inherit instance enables multiple opening of the same object (graph, picture) with the same instance number.

Instance number

The parameter Instance enables multiple opening of the same object (graph, picture) with different instance number. It can be used only for active picture / graph, because only this object can detect its current instance number and modify its contents or behaviour according to the number. Such object detects the instance number by calling the function %HI_GetSelfInstanceID from the script. Multiple object instantiation is used in connection with structured variables, where current instance number can determine used row of the structure describing some repeating object.

Position ...

The button Position enables to define the position of the graphic information window on the D2000 HI desktop. Clicking the button opens the following dialog box:


Defining of picture position on HI desktop

The red rectangle defines the position of the information window after opening on the D2000 HI desktop and behaviour of the picture, from which the window is opened.

The mode Set value represents setting of a value to the object.

A value defined in the input field is set to the defined object. There are implemented the following ways to set the value:

StringObject value change
ONObject value is set to TRUE.
OFFObject value is set to FALSE.
ONOFFReverse value  (from TRUE to FALSE or from FALSE to TRUE).

The connecting to control cannot be always only the connecting D2000 system object to the graphic object. In the palette Connect object - tab Control, you can select one of the following functions:

Connect function to control

Requirements

Minimum supported versionD2000 V12.2N, D2000 V12.5N


Connecting graphic objects to control