Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MQTT Engine has two ways to process historical events and insert the historical data into Ignition's Tag Historian module

  • Write historical events directly to the database, via the Historian, bypassing the Tag.
  • Write historical events to the Tag instead of directly to the Historian.

Writing historical events directly to the database, via the Historian, bypassing the tag

The configuration parameters required to write historical events directly to the database, via the Historian, bypassing the Tag are shown below. 

MQTT Engine

Under the MQTT Engine Settings General Tab, navigate to the Miscellaneous Settings and ensure Store Historical events is selected

Image Modified

Tag History Configuration

History must be enabled on the tag but the only property used from the tag history configuration is the Storage Provider.

All historic data is will be written to Storage Provider, via the Historian, using the timestamp associated with the historical data.

...

  • Sample Mode set to On Change
  • Min Time Between Samples set to 0
    • This is to account for historical metrics with high resolution timestamp eg. timestamps 1 ms apart for a single tag.


All historic data is will be written to Storage Provider, via the Historian, using the timestamp associated with the historical data.

...