GeoCOM Reference Manual
Automation - AUT
Leica TPS1200 / TS30 / TM30 – Version 1.50
47
7.4.3
AUT_ReadTimeout - reading the current timeout setting for positioning
AUT_ReadTimeout............................................................................................................................................................................................................................................................................
out
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 9012
9012 ................................................................................................................................................................................................................................................................AUT_ReadTime
C-Declaration
AUT_ReadTimeout(AUT_TIMEOUT &TimeoutPar)
VB-Declaration
VB_AUT_ReadTimeout(TimeoutPar As AUT_TIMEOUT)
ASCII-Request
%R1Q,9012:
ASCII-Response
%R1P,0,0:
RC, TimeoutHz[double], TimeoutV[double]
Remarks
This command reads the current setting for the positioning time out (maximum time to perform positioning).
Parameters
TimeoutPar Out
The values for the positioning time out in Hz and V direction
[sec].
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
GRC_NA
27
GeoCOM Robotic license key not available.
See Also
AUT_SetTimeout
Example
GRC_TYPE
rc;
AUT_TIMEOUT
TimeoutPar;
// read timeout and set to a minimum of 10 [s]
rc = AUT_ReadTimeout(TimeoutPar);
if ((TimeoutPar.adPosTimeout[0] < 10) ||
(TimeoutPar.adPosTimeout[1] < 10))
{
TimeoutPar.adPosTimeout[0] = 10;
TimeoutPar.adPosTimeout[1] = 10;
rc = AUT_SetTimeout(TimeoutPar);
switch (rc)
{
case (GRC_OK):
// set of timeout successful
break;
case (GRC_IVPARAM):
// invalid parameter
break;
}
}