Collecting Data

In VTScada, data comes from tag values. At a minimum, you can count on the following three pieces of information being available:

  • The name of the tag from which data is being collected.
  • A UTC timestamp recording when each value was collected.
  • The value of the tag.

 

Alarm history is similar:

  • The identity of the tag triggering the alarm.
  • A status describing the alarm transaction: triggered, normalized, acknowledged, shelved, etc.
  • The UTC time stamp recording when the transaction occurred.
  • The setpoint of the alarm and the value of the trigger at the time of the transaction.
  • Further details about the transaction...

 

Values from status tags (Analog, Digital, Pump) are logged automatically. For certain other tags, you must add a logger. If a tag is not logged, then historical information will not be collected for any report.

Logging isn't free. It costs CPU time and disk space.
Log everything that you need but think about your choices, especially the frequency at which tags poll and the deadband you set on analog values.

The frequency of data collection depends on the tag configuration. Status tags with a built-in Historian link write to the log when the value changes by an amount set in the tag configuration (deadband setting). Logger tags can write at a set interval or they can log on change (without the benefit of a deadband.)

 

The value being recorded depends on the tag to which the logger is attached. In most cases, this will be a simple measurement taken directly from a tag such as an Analog Status. If the data source for the logger is a calculation tag, then anything that can be calculated from the system (the sum of several other tags, an average over time, etc.) can be logged.

 

The logged data for each tag is stored in directories named after that tag. There will be one set of these directories for each Historian in the application, all of which are collected under a folder named DATA. (For example, C:\VTScada\MyAPP_AH\Data\History\[SystemHistorian]\.)

The data is stored using a proprietary format that is not published. You are advised to use the tools provided with VTScada to access the information.

 

As an alternative, you can configure the Historian tag(s) to save data to a 3rd party database such as Oracle or MySQL. If doing so, it is your responsibility to install and maintain the database program and data. Whether you use the VTScada data storage system or a 3rd party database, the primary tools for reviewing historical data are the History Data Viewer and the VTScada Reports Page.