GeoCOM Reference Manual
Communication Settings
Leica TPS1200 / TS30 / TM30 – Version 1.50
31
5.4.7
COM_SetTimeOut - setting the 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. But be aware of that this will yield into a
GRC_COM_TIMEDOUT
return
code.
Note:
A negative timeout value indicates an infinite waiting period and may block the client application.
Parameters
nTimeOut In
timeout value in seconds
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
See Also
COM_GetTimeOut
Example
see
COM_GetTimeOut