Leica TPS1200 Series Reference Manual page 180

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

Advertisement

GeoCOM Reference Manual
17.8.2
TMC_GetInclineSwitch - getting the dual axis compensator status
TMC_GetInclineSwitch.............................................................................................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 2007
2007 ................................................................................................................................................................................................................................................................TMC_GetIncline
Switch
C-Declaration
TMC_GetInclineSwitch(ON_OFF_TYPE
VB-Declaration
VB_TMC_GetInclineSwitch(SwCorr As Long)
ASCII-Request
%R1Q,2007:
ASCII-Response
%R1P,0,0:RC,SwCorr[long]
Remarks
This function returns the current dual axis compensator status.
Parameters
SwCorr
Return-Code Names and Return-Code Values
GRC_OK
See Also
TMC_SetInclineSwitch
Example
GRC_TYPE
ON_OFF_TYPE
// clear distance first before you change the state
TMC_DoMeasure(TMC_CLEAR, TMC_AUTO,INC);
// deactivate the compensator
// if it is not already
rc = TMC_GetInclineSwitch(SwCorr);
if (SwCorr == ON)
{
rc = TMC_SetInclineSwitch(OFF);
if (rc == GRC_OK)
{
// successfully deactvated
}
else
{
// set not successful (subsystem busy)
}
}
Leica TPS1200 – Version 1.50
&SwCorr)
Out
0
rc;
SwCorr;
Theodolite Measurement and Calculation – TMC
Dual axis compensator status.
Execution successful.
180

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents