picm_isconnectedtoserver

This function returns whether or not the connection to the server is valid.

C format

PIBOOL picm_isconnectedtoserver( void );

Returns

TRUE

Connected

FALSE

Not Connected

Arguments

None

Usage Notes

The caller of this function must have previously called picm_opencache to open the cache file and piut_setservernode to set the PI Server if a call to piut_setservernode had been made since the initial call to picm_opencache.

The function makes a network call to the PI Server to determine connection status regardless of buffering configuration.

Enabling Operational Intelligence