Subscribe to Historian Alerts and Messages
You can obtain a complete picture of the Historian Server's status by monitoring the server's Alerts and Messages. Additionally, if you are using iFIX with Historian, you can capture these subscriptions and forward them to iFIX alarm queues to ensure operator notification.
You can also use scripting in iFIX to subscribe to the Historian message queues using VBA. If you write a script as part of an iFIX picture, you will need to either keep the picture with the scripts running at all times or run the scripts in the FIXBackground Server application.
Creating Subscriptions in iFIX
Specify Topics
- Message Topics: Configuration Audit, Connections, General
- Alert Topics: Performance, Security, ServiceControl
- MessageNumber – The NLS string number.
- MessageString – Translated string, including substitutions for time stamp, user, or tag name.
- Substitutions – A collection of substitutions used to make the message string.
- TimeStamp – The time the message was created.
- Topic – The topic number of the message.
- TopicName – The string topic name of the message.
- UserName – The user name for the message.
You can also send Alerts and Messages to the iFIX Operator Message alarm queue using the SendOperatorMessage method of the System object. This method will send the alerts and messages to all alarm queues, but NOT the Alarm Summary queue. To send a message that will appear on an alarm summary, send the message to the Alarm Extension field of a digital alarm block and toggle the alarm state.