GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
179
17.8
CONFIGURATION FUNCTIONS
17.8.1
TMC_GetAngSwitch - getting the angular correction status
TMC_GetAngSwitch .................................................................................................................................................................................................................................................................
2014 ................................................................................................................................................................................................................................................................TMC_GetAngSw
C-Declaration
............
itch
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 2014
TMC_GetAngSwitch(TMC_ANG_SWITCH &SwCorr)
VB-Declaration
VB_TMC_GetAngSwitch(SwCorr As TMC_ANG_SWITCH)
ASCII-Request
%R1Q,2014:
ASCII-Response
%R1P,0,0:
RC,InclineCorr[long],StandAxisCorr[long],
CollimationCorr[long],TiltAxisCorr[long]
Remarks
This function returns the angular corrections status.
Parameters
SwCorr Out
Angular corrections status.
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
See Also
TMC_SetAngSwitch
Example
GRC_TYPE
rc;
TMC_ANG_SWITCH SwCorr;
// get the switch state for the angular
// correction
rc = TMC_GetAngSwitch(SwCorr);
if (SwCorr.eTiltAxisCorr == ON)
{
// Tilting axis correction turned On
}
else
{
// Tilting axis correction turned Off
}