Leica TPS1200 Series Reference Manual page 23

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

Advertisement

GeoCOM Reference Manual
5.3.2 COM_SetDoublePrecision – setting the double precision setting
COM_SetDoublePrecision.............................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 107
107 .................................................................................................................................................................................................................................................................COM_SetDoubl
ePrecision
C-Declaration
COM_SetDoublePrecision( short nDigits )
VB-Declaration
VB_COM_SetDoublePrecision( ByVal nDigits As Integer )
ASCII-Request
%R1Q,107:nDigits[short]
ASCII-Response
%R1P,0,0:RC
Remarks
This function sets the precision - number of digits to the right of the decimal - when double floating-point values
are transmitted. The TPS' system software always calculates with highest possible precision. The default
precision is fifteen digits. However, if this precision is not needed then transmission of double data (ASCII
transmission) can be speeded up by choosing a lower precision. Especially when many double values are
transmitted this may enhance the operational speed. The usage of this function is only meaningful if the
communication is set to ASCII transmission mode. In the case of an ASCII request, the precision of the server
side will be set. Notice that trailing Zeros will not be sent by the server and values may be rounded. E.g. if
precision is set to 3 and the exact value is 1.99975 the resulting value will be 2.0
Note: With this function it is possible to decrease the accuracy of the delivered values.
Parameters
nDigits
Return-Code Names and Return-Code Values
GRC_OK
GRC_IVPARAM
See Also
COM_GetDoublePrecision
Example
see
COM_GetDoublePrecision
Leica TPS1200 / TS30 / TM30 – Version 1.50
In
Number of digits right to the comma.
0
Execution successful.
2
0 > nDigits > 15
Communication Settings
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents