Leica TPS1200 Series Reference Manual page 56

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

Advertisement

GeoCOM Reference Manual
7.4.8 AUT_Search - performing an automatic target search
AUT_Search ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 9029
9029 ................................................................................................................................................................................................................................................................AUT_Search
C-Declaration
AUT_Search(double Hz_Area,
double V_Area,
BOOLE
VB-Declaration
VB_AUT_Search2(Hz_Area As Double,
ASCII-Request
%R1Q,9029:Hz_Area,V_Area,0
ASCII-Response
%R1P,0,0:RC
Remarks
This procedure performs an automatically target search within a given area. The search is terminated once the
prism appears in the field of view of the ATR sensor. If no prism is found within the specified area, the
instrument turns back to the initial start position. For an exact positioning onto the prism centre, use fine adjust
(see
AUT_FineAdjust
Note: If you expand the search range of the function
fine positioning in one function.
Parameters
Hz_Area
V_Area
bDummy
Return-Code Names and Return-Code Values
GRC_OK
GRC_NA
GRC_IVPARAM
GRC_AUT_MOTOR_ERROR
GRC_FATAL
GRC_ABORT
GRC_AUT_NO_TARGET
GRC_AUT_BAD_ENVIRONMENT
GRC_AUT_DETECTOR_ERROR
GRC_COM_TIMEDOUT
See Also
AUS_SetUserAtrState
AUS_GetUserAtrState
AUT_FineAdjust
Example
The example program performs a search in the given area. If no target is found, the area is increased until
1[
]. If a communication timeout occurs, the value for the communication timeout is increased until 30[s]
rad
(Note that a search over a big area takes a long time often results in an error).
GRC_TYPE
rc, hrc;
BOOL
TryAgain = TRUE;
double
Hz_Area,V_Area;
short
nComTimeOut, nOldComTimeOut;
Hz_Area = 0.1;
V_Area
= 0.1;
rc = GRC_IVRESULT;
hrc = COM_GetTimeOut(nOldComTimeOut);
Leica TPS1200 / TS30 / TM30 – Version 1.50
bDummy)
V_Area As Double,
bDummy As Boolean)
) afterwards.
In
In
In
0
27
2
8707
4
8
8710
8712
8713
3077
, then you have a target search and a
AUT_FineAdjust
Horizontal search region [
Vertical search region [
rad
It's reserved for future use, set
Execution successful.
GeoCOM Robotic license key not available
Invalid parameter.
Instrument has no 'motorization'.
Fatal error.
Function aborted.
No target found.
Inadequate environment conditions.
AZE error, at repeated occur call service
Communication timeout. (perhaps increase COM timeout,
see
)
COM_SetTimeout
Automation - AUT
].
rad
].
always to
bDummy
FALSE
56

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents