Leica TPS1200 Series Reference Manual page 30

Geodetic measurement instruments
Hide thumbs Also See for TPS1200 Series:
Table of Contents

Advertisement

GeoCOM Reference Manual
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
Return-Code Names and Return-Code Values
GRC_OK
See Also
COM_SetTimeOut
Example
GRC_TYPE
rc;
short nTimeOut;
COM_GetTimeOut(nTimeOut);
if (nTimeOut <= 3)
{
COM_SetTimeOut(7);
}
Leica TPS1200 / TS30 / TM30 – Version 1.50
Out
Timeout value in seconds, default value is 3 sec.
0
Execution successful.
Communication Settings
30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents