Database Tag History

Using Database Connections with Tag History​

As soon as the runtime is started, the tag history table will be created by ADISRA SmartView with all the needed columns.  It will be one table per tag.

  • The Tag History can be saved into a configured database.  Open the Tag History document the user wants to configure.  Inside the “History Type” area in the “Type” combo box, select “Database”; and in the “Connection Item” combo box, that will appear after selecting the “Type” as “Database”, select a configured “Database Connection”.

  • As soon as the runtime is executed, the tags configured in the Tag History document will be saved to the database.  The values saved to the database can be loaded by the Trend (History) object as shown in the example below.
  • The following image shows the database table created.  It contains the tag value, quality and timestamp.