GeoCOM Reference Manual
Communication Settings
Leica TPS1200 / TS30 / TM30 – Version 1.50
30
5.4.6
COM_GetTimeOut – getting the current timeout value
COM_GetTimeOut.....................................................................................................................................................................................................................................................................
C-Declaration
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ -
COM_GetTimeOut( short &nTimeOut )
VB-Declaration
VB_COM_GetTimeOut( nTimeOut As Integer )
ASCII-Request
-
ASCII-Response
-
Remarks
This function retrieves the current timeout value for a request in seconds. The timeout value is the delay
GeoCOM will wait for completion before it signals an error to the calling application.
Parameters
nTimeOut Out
Timeout value in seconds, default value is 3 sec.
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
See Also
COM_SetTimeOut
Example
GRC_TYPE rc;
short
nTimeOut;
COM_GetTimeOut(nTimeOut);
if (nTimeOut <= 3)
{
COM_SetTimeOut(7);
}
Содержание TM30 Series
Страница 1: ...Leica TPS1200 Leica TS30 TM30 GeoCOM Reference Manual Version 1 50 English...
Страница 120: ...GeoCOM Reference Manual File Transfer FTR Leica TPS1200 Version 1 50 120 while bLast TRUE FTR_AbortList...
Страница 136: ...GeoCOM Reference Manual Motorisation MOT Leica TPS1200 Version 1 50 136 handle error...