New import histories windows

These windows configure the importing of history data into a Supervisor station RDBMS.

Figure 1. Import history window


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.

PropertyValueDescription
Nametext
Provides a name for the import/export task or point query.
History Idtext
Specifies the database name, such as MySQL, Oracle, SqlServer) and history name in two fields.
Execution Timecontrol 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.

Enabledtrue (default) or false
Activates (true) and deactivates (false) use of the object (network, device, point, component, table, schedule, descriptor, etc.).
Capacitydrop-down listConfigures 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 Policydrop-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.

Intervaldrop-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 FacetsConfig Facets chooserConfigures units.
Time Zonedrop-down listRecords 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 NametextRedefines the table name to this name on import.
Rdb Catalog NametextRedefines the catalog name to this name on import.
Rdb Schema NametextRedefines the schema name to this name on import.
Timestamp ColumntextSpecifies 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 ColumntextSpecifies 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 ColumntextSpecifies 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 PredicatetextUses 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 Executedrop-down listSpecifies to import either the full database up to the specified Capacity (Enabled) or only the new data on each successive import action (Disabled).