GeoCOM Reference Manual
Theodolite Measurement and Calculation – TMC
Leica TPS1200 – Version 1.50
166
17.6.6
TMC_GetPrismCorr - getting the prism constant
TMC_GetPrismCorr...............................................................................................................................................................................................................................................................................
orr
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 2023
2023 ................................................................................................................................................................................................................................................................TMC_GetPrismC
C-Declaration
TMC_GetPrismCorr(double &PrismCorr)
VB-Declaration
VB_TMC_GetPrismCorr(PrismCorr As Double)
ASCII-Request
%R1Q,2023:
ASCII-Response
%R1P,0,0:
RC,PrismCorr[double]
Remarks
This function is used to get the prism constant.
Parameters
PrismCorr Out
Prism constant [m]
Return-Code Names and Return-Code Values
GRC_OK
0 Execution
successful.
See Also
TMC_SetPrismCorr
Example
const double Corr = 0.1;
GRC_TYPE rc;
double
PrismCorr;
// set the prism constant to
// 0.1 if not already set
rc = TMC_GetPrismCorr(PrismCorr);
if (PrismCorr != Corr)
{
rc = TMC_SetPrismCorr(Corr);
if (rc == GRC_OK)
{
// set of prisma corr successful
}
else
{
// Invalid parameter
}
}