GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
156
which accuracy could not be verified by the system. Angle
and distance data are available.
GRC_TMC_ANGLE_OK
1285
Angle values okay, but no valid distance.
Perform a distance measurement previously.
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.
Perform a distance measurement first before you call this
function.
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_DIST_ERROR
1292
No measurement because of missing target point, angle data
are available but distance data are not available.
Aim at target point and try it again.
GRC_TMC_DIST_PPM
1291
No distance measurement respectively no distance data
because of wrong EDM settings. Angle data are available but
distance data 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.
Distance and angle data are not available.
Repeat measurement.
GRC_ABORT
8
Measurement through customer aborted.
GRC_SHUT_DOWN
12
System power off through customer.
See Also
TMC_DoMeasure
TMC_GetAngle5
Example
GRC_TYPE
rc;
double
HzAngle, VAngle, AccuracyAngle;
double
CrossIncl, LenIncl, AccuracyIncl;
double
SlopeDistance, DistTime;
// activate distance measurement
rc = TMC_DoMeasure(TMC_DEF_DIST, TMC_AUTO_INC);
if (rc == GRC_OK)
{
// distance measurement successful
rc = TMC_GetFullMeas(3000, HzAngle, VAngle, AccuracyAngle,
CrossIncl,
LenIncl,
AccuracyIncl,
SlopeDistance,
DistTime,
TMC_MEA_INC);
if (rc == GRC_OK)
{
// use distance and angle values
else
{
// something with TMC_GetFullMeas went wrong
}
else
{
// something with dist. measurement went wrong
}