Contents
Partner Programs
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
All Manual Versions
Ignition 8.0
Ignition 7.9
Ignition 7.8
This feature was removed from Ignition in version 8.0.0
This function is only available in Transaction Group Expression Items and Expression Tags.
Checks if the given database connection is available. Will use the default for that scope if none is specified.
isDBConnectionAvailable([datasource])
string datasource - Optional. The name of the database connection to check if available. If omitted, will return the default database connection for the nearest resource, based on where the function is being called from.
Common locations where the function can be called from:
Bool - True if the database connection is available, False if not.
isDBConnectionAvailable("MySQLConnection") //would return true when the database connection was valid.