isConnectedState()

The function checks if the Common state is Connected by using the value of the element Common.State.ConnState..

Synopsis

bool isConnectedState(int iConnState);

Parameter

Parameter Description
iConnState Shows if the Common state is Connected or not.

Return value

The function returns TRUE if the Common state indicates that the connection was established.

Description

The function checks if the Common state is Connected by using the value of the element Common.State.ConnState..

Note: The connection state is evaluated by the driver itself. Hence, the state is not updated correctly if the corresponding driver is not running.

Assignment

Drivers

Availability

CTRL. Note that to use this function you must load the CTRL class libs/drv/DriverCommon.ctl by using the keyword #uses:

#uses "DriverCommon.ctl".