GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
150
17.4.4
TMC_GetAngle5 – returning a simple angle measurement
TMC_GetAngle5............................................................................................................................................................................................................................................................................
5
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 2107
2107 ................................................................................................................................................................................................................................................................TMC_GetAngle
C-Declaration
TMC_GetAngle(TMC_HZ_V_ANG &OnlyAngle,
TMC_INCLINE_PRG Mode)
VB-Declaration
VB_TMC_GetAngle5(OnlyAngle As TMC_HZ_V_ANG,
ByVal Mode As Long)
ASCII-Request
%R1Q,2107:
Mode[long]
ASCII-Response
%R1P,0,0:
RC,Hz[double],V[double]
Remarks
This function carries out an angle measurement and returns the results. In contrast to the function
TMC_GetAngle1
this function returns only the values of the angle. For simple angle measurements use
TMC_GetSimpleMea
instead.
Information about measurement is returned in the return code.
Parameters
Mode In
Inclination sensor measurement mode.
Angle Out
Result of the angle measurement.
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
GRC_TMC_ACCURACY_GUARANTEE
1284
Accuracy is not guaranteed, because the result are consist of
measuring data which accuracy could not be verified by the
system. Co-ordinates are available.
GRC_TMC_NO_FULL_CORRECTION
1283
The results are not corrected by all active sensors. Co-
ordinates are available.
In order to secure which correction is missing use the both
functions
TMC_IfDataAzeCorrError
and
TMC_IfDataIncCorrError
GRC_TMC_ANGLE_OK
1285
Angle values okay, but no valid distance. Co-ordinates are
not available.
GRC_TMC_ANGLE_NO_ACC_
GUARANTY
1289
Only the angle measurement is valid but its accuracy cannot
be guaranteed (the tilt measurement is not available).
GRC_TMC_ANGLE_NO_FULL_
CORRECTION
1288
No distance data available but angle data are valid. The return
code is equivalent to the
GRC_TMC_NO_FULL_CORRECTION
and relates to the angle data. Co-ordinates are not available.
Perform a distance measurement first before you call this
function.
GRC_TMC_DIST_ERROR
1292
No measuring, because of missing target point, co-ordinates
are not available.
Aim target point and try it again
GRC_TMC_DIST_PPM
1291
No distance measurement respectively no distance data
because of wrong EDM settings. Co-ordinates are not
available.
GRC_TMC_ANGLE_ERROR
1290
Angle or inclination measurement error. Check inclination
modes in commands.
GRC_TMC_BUSY
1293
TMC resource is locked respectively TMC task is busy.
Repeat measurement.
GRC_ABORT
8
Measurement through customer aborted.
GRC_SHUT_DOWN
12
System power off through customer.
See Also
TMC_DoMeasure
TMC_GetAngle5