GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
185
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_GetCoordinate
TMC_IfDataAzeCorrError
TMC_IfDataIncCorrError
Example
GRC_TYPE Result;
TMC_ANG_SWITCH SwCorr;
SYSTIME WaitTime;
TMC_INCLINE_PRG ePrgm;
BOOLE bExit;
Double dCoordE,dCoordN,dCoordH;
TMC_GetAngSwitch(SwCorr); // measure rate will
SwCorr.eInclineCorr=ON; // be reduced with
SwCorr.eStandAxisCorr=ON; // angle and incline
SwCorr.eCollimationCorr=ON; // corrections.
SwCorr.eTiltAxisCorr=ON;
TMC_DoMeasure(TMC_CLEAR); // clear distance first TMC_SetAngSwitch(SwCorr); //
before you can set the
// ANG switches, the
// distance must be
// cleared
TMC_DoMeasure(TMC_RTRK_DIST);// execute rapid
// tracking
// measurement
WaitTime=500;// set max. wait time 500 [ms]
eProg=TMC_AUTO_INC;// set automatically incline prgm
bExit=FALSE;
do
{
Result=TMC_GetSimpleCoord(WaitTime, dCoordE,
dCoordN, dCoordH,eProg);
switch(Result)
{
case GRC_OK:
case GRC_TMC_NO_FULL_CORRECTION:
case GRC_TMC_ACCURACY_GUARANTEE:
// in this cases are the coordinates
// available
Break;
Default:
bExit=TRUE;
// in all other cases are the coordinates not
// valid and set to 0
// further errorhandling
Break;
}// end switch
}// end do while
while(!bExit);
TMC_DoMeasure(TMC_CLEAR); // complete measurement
// and clear data