Troubleshoot Calculation Collector
Troubleshooting Calculation Collector
Unsupported Data Types for Calculation Tags
Calculation tags with Quad Integer and Unsigned Quad Integer data types return bad quality values due a limitation in Visual Basic (VB).
Unsupported Calculations in Calculation Collector
Calculation Collector supports only the calculations performed using the current value calculation. It does not support other calculations due to a Visual Basic script limitation.
Writing Messages to the Collector Log File for Debugging Purposes
If you want to include debugging messages after certain parts of your formula execute, you can you can use the LogMessage function when creating a formula in the Calculation pane. The syntax of this function is as follows:
LogMessage(message_string)
where message_string
is the message that you want to appear in the log file for the Calculation or Server-to-Server Collector. If the message_string
is not a string variable, use double quotes around the text for message_string
value. For instance, a properly formatted text string with double quotes would appear like this:
LogMessage("This is a message")
LogMessage
function does not appear in the wizard.Importing Calculations with Line Breaks into Historian
Recovery Mode (Calculation Collector)
Recovery logic is activated when the Calculation Collector and Historian Server reestablish connection after a connection loss. Recovery mode allows the collector to recover data when the connection between the collector and the server is reestablished. Recovery mode produces calculated values for time when the Calculation Collector was not running.
When using recovery mode, all referenced tags in an unsolicited calculation must be listed as trigger tags. For more information, refer to About Recovery Mode.