Leica TPS1200 Series Reference Manual page 169

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

Advertisement

GeoCOM Reference Manual
17.6.9
TMC_GetRefractiveMethod – getting the refraction model
TMC_GetRefractiveMethod...............................................................................................................................................................................................................................................................................
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 2091
2091 ................................................................................................................................................................................................................................................................TMC_GetRefrac
tiveMethod
C-Declaration
TMC_GetRefractiveMethod(unsigned short &Method)
VB-Declaration
VB_TMC_GetRefractiveMethod(Method As Integer)
ASCII-Request
%R1Q,2091:
ASCII-Response
%R1P,0,0:RC,Method[unsigned short]
Remarks
This function is used to get the current refraction model. Note that changing the refraction method is not
indicated on the instrument's interface.
Parameters
Method
Return-Code Names and Return-Code Values
GRC_OK
See Also
TMC_SetRefractiveMethod
Example
const unsigned short
GRC_TYPE
unsigned short
// set the refractive methode to 1
// if it is not already
rc = TMC_GetRefractiveMethod(Method);
if (Method != RefractiveMethod)
{
rc = TMC_SetRefractiveMethod(RefractiveMethod);
if (rc == GRC_OK)
{
// set of refractive methode successful
}
else
{
// set not successful (subsystem busy)
}
}
Leica TPS1200 – Version 1.50
Out
Refraction data:
= 1 means method 1 (for the rest of the world)
Method
= 2 means method 2 (for Australia)
Method
0
Execution successful.
RefractiveMethod = 1;
rc;
Method;
Theodolite Measurement and Calculation – TMC
169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents