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
  1. Right-click the diagram object you want to link to open the Configuration dialog.
  2. 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 for information on the Label section) and use the Link section to choose a real-time source.

  3. 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.
  4. Click Edit Link to open the Create Link dialog.
  5. Specify a node, manager, module and output register:
    1. 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.
    2. Double-click the manager you want (for example, Power Meter modules) from the Managers box.
    3. Double-click the module you want from the Modules box (for example, Power Meter).
    4. Double-click the output register you want from the Output Registers box (for example,Vll avg).
  6. 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.

  7. 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 ION Query Service.

Linking a diagram object to the ION Query Service
  1. Right-click the Event or Data Log Viewer object you want to link.
  2. Select the Query Server tab in the Configuration dialog.

    The Query Server tab has two options:

    • Select Inherit from parent window to have the selected diagram object default to the same Query Server 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.
    • Select Custom Query Server and click Edit Link to open a dialog where you can select a new Query Server link.
  3. Select Custom Query Server and click Edit Link to open the Create Link dialog.

    • Use this dialog to specify the Query Server, Query Manager, Query module, and Query register.
    • Double-click the Query Server 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.
  4. Click OK the Create Link dialog to save your changes.

    The name of the selected ION Query Service is displayed as the Group Name on the Query Server tab of the Configuration dialog.

  5. 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 for more information.

NOTE: If the Query Server 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.