You are here: Driver Reference > Totalflow Driver > Event Data Table

Event Data Table

You can store events from a Totalflow computer in a ClearSCADA Data Table. The Data Table will have a specific schema. Unlike other Totalflow database objects, Data Tables are generic database objects(see Configuring Data Tables in the ClearSCADA Guide to Core Configuration).

To create a Data Table:

  1. Right-click on the required group in the Database Bar.
    A context-sensitive menu is displayed.
  2. Select the Create New option, followed by the Tables and Grids option.
  3. Select the Data Table option.
    A new Data Table is added to the database.
  4. Specify a suitable name for the Data Table (taking into account the ClearSCADA naming restrictions).
  5. Right-click on the Data Table entry in the Database Bar and select the Edit Properties option. Specify a suitable Table Name and Title for the table and then save the configuration.
  6. Do not make any other changes to the table.

The ClearSCADA Totalflow Driver can create the correct columns in the Data Table automatically. To do this, you need to associate the Data Table with the relevant Totalflow Scanner object. To do this:

  1. Display the Properties window for the Totalflow Scanner item.
  2. On the Options tab, locate the Events section.
  3. Use the browse button next to the Event Data Table field to display a Reference browse window. Locate and select the Data Table that you have just added to the database.
  4. Save the configuration changes.
    The Totalflow driver will create the correct columns in the Data Table, providing that the Data Table contains 0 records and the Get Events on Scan option is enabled on the Scanner item (see Scanner Configuration).

    NOTE: If the referenced Data Table is not empty, the driver will not create columns, because data loss could possibly occur.)

A correctly configured Event Data Table is included in the TotalflowDemo.sde file.

A single Data Table can store events from multiple flow computers. For the ClearSCADA Totalflow Driver to populate an Event Data Table, the table has to contain the columns that are shown in the figure below, with the correct data type as a minimum. Additional columns are allowed, but the driver will only populate those columns that are shown below. The columns that the driver adds to the Event Table are described below.

Further Information

Configuring Data Tables


ClearSCADA 2015 R2