## Linking a diagram object to a data source

After placing an object in your user diagram, you need to link the object to a data source. Some types of diagram objects require a real-time data source and others require a logged data source:

Numeric, status, and control objects require a real-time data source. You can link these diagram objects to a device.

Event Log Viewers and Data Log Viewers require a logged data source. You can link these diagram objects to any log in your system.

#### Linking a numeric, status or control object

This section describes how to link a numeric, status, or control object to a node. Numeric, status, and control objects display real-time data. After you have placed one of these objects into a user diagram, you should link it to a real-time data source. An object cannot receive or display information until it is linked.

##### Specifying a real-time link to a node

Right-click the diagram object you want to link to open the Configuration dialog.

Select the Link tab.

The Link tab contains two sections: Link and Label. Use the Label section to define a label for the diagram object (see "Link Options" on page 1 for information on the Label section) and use the Link section to choose a real-time source.

Select one of the following:

Inherit from parent window: The selected diagram object defaults to the same node used by the parent window (the window in which the object resides). You must specify a real-time register within the node, but the node itself is pre-selected.

Custom: Allows you to select a new node. Select ION to choose a different device than that used by the parent window.

Click Edit Link to open the Create Link dialog.

Specify a node, manager, module and output register:

Double-click the node in the Nodes box that contains the data source you want. If you chose Inherit from parent window in step 3, the node is preselected.

Double-click the manager you want (for example, Power Meter modules) from the Managers box.

Double-click the module you want from the Modules box (for example, Power Meter).

Double-click the output register you want from the Output Registers box (for example,Vll avg).

Click OK in the Create Link dialog to save your changes.

The Create Link dialog closes and the new link information is displayed along the lower edge of the Configuration dialog.

Click OK on the Configuration dialog to save your new configuration.

#### Linking a Data Log Viewer or Event Log Viewer

The Event Log Viewer and Data Log Viewer display logged data. After you have placed an Event Log Viewer or Data Log Viewer object into a user diagram, you need to link it to the .

##### Linking a diagram object to the

Right-click the Event or Data Log Viewer object you want to link.

Select the tab in the Configuration dialog.

The tab has two options:

Select Inherit from parent window to have the selected diagram object default to the same used by the parent window (the window in which the object resides). If you select this option, click OK to exit, skip the following steps, and continue with "Querying the Database" on page 1.

Select Custom and click Edit Link to open a dialog where you can select a new link.

Select Custom and click Edit Link to open the Create Link dialog.

Use this dialog to specify the , Query Manager, Query module, and Query register.

Double-click the that you want from the Nodes box.

Double-click Query Modules from the Managers box.

Double-click the Query module that you want from the Modules box.

Double-click the Query Register that you want from the Output Registers box.

Click OK the Create Link dialog to save your changes.

The name of the selected is displayed as the Group Name on the tab of the Configuration dialog.

Click OK on the Configuration dialog to accept your new configuration.

After you have linked a diagram object to a log server, you need to define a query to specify the type(s) of logged data that you want the object to display. See "Querying the Database" on page 1 for more information.

Note

If the has multiple Query modules that are accessing multiple databases, you need to select the Query module that is connected to the database that contains the data of interest.