Leica tps1100 Reference Manual page 40

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
5.2.2
COM_SetDoublePrecision - Set Double Precision Setting
COM_ SetDoub lePrecision ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 107
107 .................................................................................................................................................................................................................................................................COM_ SetDoub lePrecision
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 one can decrease the accuracy of the delivered
values.
Parameters
nDigits
Return Codes
RC_OK
RC_IVPARAM
See Also
COM_GetDoublePrecision
Example
see
COM_GetDoublePrecision
TPS1100 - Version 1.05
In
Number of digits right to the comma.
On successful completion.
0 > nDigits > 15
Communication Settings
5-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents