Connection Functions
Connection functions allow you to manage connections on the inSCADA platform with script/expression. With these functions you can run, stop and check the status of connections.
Get Connection Status
String ins.getConnectionStatus(String connectionName)
Provides information about the status of a connection.
connectionName: The connection name.
Return Value: Returns a string containing information about the connection status. ("Connected","Disconnected")
Syntax
String ins.getConnectionStatus(Integer connectionId)
Returns information about a connection status.
connectionId: The ID of the connection.
Return Value: Returns a string containing information about the connection status. ("Connected","Disconnected")
Syntax
Start Connection
startConnection(String connectionName)
Starts a connection.
connectionName: The connection name.
Return Value: Does not return any value.
Stop Connection
stopConnection(String connectionName)
Stops a connection.
connectionName: The connection name.
Return Value: Does not return any value.
Syntax
Last updated