Leica tps1100 Reference Manual page 48

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
See Also
COM_SetTimeOut
Example
RC_TYPE
short nTimeOut;
COM_GetTimeOut(nTimeOut);
if (nTimeOut <= 5)
{
COM_SetTimeOut(7);
}
5.3.8
COM_SetTimeOut - Set Current Timeout Value
COM_ SetTimeOut.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. -
C-Declaration
COM_SetTimeOut( short nTimeOut )
VB-Declaration
VB_COM_SetTimeOut( nTimeOut As Integer )
ASCII-Request
-
ASCII-Response
-
Remarks
This function sets the current timeout value in seconds. The timeout value
is the delay GeoCOM will wait for completion of the last RPC before it
signals an error to the calling application.
A zero timeout value indicates no wait. This can be used for polling the
input queue. But be aware of that this will yield into a
return code.
Note: A negative timeout value indicates an infinite waiting period and
may block the client application.
Parameters
nTimeOut
TPS1100 - Version 1.05
rc;
In
timeout value in seconds
Communication Settings
RC_COM_TIMEDOUT
5-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents