DataLogPro functions

Use the DataLogPro functions to show the active HMI server's connection state to the InfluxDB database.
The following table lists the DataLogPro functions.
This function
Returns this value
DBConnectionState
(
ServerName
)
An integer representing the active HMI server's connection state to the InfluxDB database.
  • 0
    : The connection to the database is lost.
  • 1
    : The data is being logged to the database.
  • 2
    : The data logging service has stopped.
  • 3
    : The data logging has lost its required configuration, for example, the database is deleted.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal