Leica tps1100 Reference Manual page 191

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
16.7.2 TMC_GetInclineSwitch - Get the dual axis compensator's state
TMC_GetInclineSwitch ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 2007
2007 ................................................................................................................................................................................................................................................................TMC_GetInclineSwitch
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's state.
Parameters
SwCorr
Return Codes
RC_OK
See Also
TMC_SetInclineSwitch
Example
RC_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 == RC_OK)
{
// successfully deactvated
}
else
{
// set not successful (subsystem busy)
TPS1100 - Version 1.05
Theodolite Measurement and Calculation - TMC
out
Dual axis compensator's state.
Execution always successful.
rc;
SwCorr;
&SwCorr)
16-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents