New import histories windows

These windows configure the importing of history data into a Supervisor station RDBMS.
Figure 58.   Import history window
Image

To access these windows, expand Drivers > RdbmsNetwork, expanding your rdb Database, right-click the Histories node in the Nav tree, click Views > Rdbms History Import Manager, and click New.

Property Value Description
Name text
Provides a name for the import/export task or point query.
History Id text
Specifies the database name, such as MySQL, Oracle, SqlServer) and history name in two fields.
Execution Time control time trigger properties
Configures a time trigger that controls when to perform the function.

Trigger properties are documented in the Getting Started with Niagara guide.

Enabled true (default) or false
Activates (true) and deactivates (false) use of the object (network, device, point, component, table, schedule, descriptor, etc.).
Capacity drop-down list Configures the maximum number of records to import into a database.

Unlimited places no limit on the size of the import.

Record Count opens a property to define the number of records (defaults to 500).

Full Policy drop-down list (defaults to Roll) Determines what happens when the station database reaches its Capacity.

Roll overwrites the oldest records with the new ones.

Stop stops the import job from recording.

Interval drop-down list (defaults to irregular) Configures when the system creates a history record.

irregular specifies no particular frequency for imports.

regular sets an import action frequency in terms of hours, minutes and seconds.

Value Facets Config Facets chooser Configures units.
Time Zone drop-down list Records the time zone associated with the history. All the records (rows) are recorded in UTC (Coordinated Universal Time) and there are various localization technologies you may choose to display the time zone data.
Rdb Table Name text Redefines the table name to this name on import.
Rdb Catalog Name text Redefines the catalog name to this name on import.
Rdb Schema Name text Redefines the schema name to this name on import.
Timestamp Column text Specifies the Timestamp column for the imported data. If you discovered the histories to import, the driver displays the table columns in the option list for you to choose from. Otherwise, type in the column name in the text field.
Value Column text Specifies the Value column for the imported data. If you discovered the data, the driver displays table columns in the option list for you to choose from. Otherwise, type in the column name in the text field.
Status Column text Specifies if a status column is included in the imported data or not. To include the status column, clear the None box and enter the name of the status column. If you discovered data, the driver displays table columns in the option list for you to choose from. Otherwise, type in the column name in the text field.
Query Predicate text Uses a query predicate to filter the records to import.

For example, you could type in “where Value > 100” to import only those records that have a Value greater than 100. Or, you could type in “where Value between 1 and 100” , which would import records with Values between 1 and 100.

Full import On Execute drop-down list Specifies to import either the full database up to the specified Capacity (Enabled) or only the new data on each successive import action (Disabled).