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