GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
145
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_IfDataAzeCorrError
TMC_IfDataIncCorrError
Example
GRC_TYPE
Result;
TMC_COORDINATE
Coordinate;
// make a single distance measurement first
Result=TMC_DoMeasure(TMC_DEF_DIST, TMC_AUTO_INC);
if(Result==GRC_OK)
{// before you get the coordinates
Result=TMC_GetCoordinate(1000,Coordinate,
TMC_AUTO_INC);
}
switch(Result)
{// result interpretation
case GRC_OK:
break;
.
.
// error handling
case ...:
.
.
default:
break;
}