Configuring a User Query

A User Query is an SQL query used to retrieve data from the ClearSCADA database for analysis purposes or to display on a map.

For example, you can use a User Query to display:

A User Query is represented in the ClearSCADA database by a User Query database item, which you can create as follows:

  1. Display the Database Bar (see Display an Explorer Bar).
  2. In the Database Bar, right-click on the Group, Group Template, or system that is to contain the new User Query.
    A context sensitive menu is displayed.
  3. Select the Create New option.
    A further menu is displayed.
  4. Select the Other option.
    A further menu is displayed.
  5. Select the User Query option.

    ClearSCADA adds a new User Query database item to the Database Bar and selects it automatically, ready for you to enter its name.

  6. Type a suitable name, then press the Enter key to confirm (or select another part of the ViewX interface).

The next step is to configure the User Query database item. To do this, right-click on the item to display its Object Menu then select the Edit Properties option.

ClearSCADA will then display the User Queries form.

This section describes the settings on the Query tab of the User Queries form.

You can find details of the settings on the other tabs as follows:

Configure the fields on the Query tab as follows:

When you have finished, save the configuration (see Saving Configuration Changes).


Disclaimer

ClearSCADA 2017 R3