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..

Anmerkung: Der Verbindungsstatus wird vom Treiber selbst ausgewertet. Daher wird der Status nicht korrekt aktualisiert, wenn der entsprechende Treiber nicht läuft.

Assignment

Treiber

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".