Leica tps1100 Reference Manual page 17

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
C-Declaration
TMC_GetSimpleMea(SYSTIME
ASCII-Request
%R1Q,2108:WaitTime[long],Mode[long]
ASCII-Response
%R1P,0,0:RC,Hz[double],V[double],dSlopeDistance[double]
Please, notice that the RPC has two input and two output parameters.
Anytime a request must encode and send input and in/out parameters only
and a reply must encode and send in/out and output parameters only!
Note: Unnecessary parameters must not be sent.
Although the enclosed header file
values for certain function parameters they will not be supported.
Hence, they have to be sent.
The ASCII Request to call this RPC with the value for
and the inclination measure mode
(note that the value 1 is used for the
of enumeration data types start at 0):
%R1Q,2108:1000,1^m
A possible reply can be as follows:
%R1P,0,0:0,0.9973260431694,1.613443448007,1.3581^m
Where the second and third value after the colon corresponds to the
and
parts of the structure
dV
corresponds to the variable
after the ':' is not a parameter but the return code value of the RPC).
3.1.2
ASCII Protocol Program Example
For getting a feeling of how requests and replies are build up and work see also
the provided
geocom.trm
C-1 Settings for Terminal Emulator for further information.
TPS1100 - Version 1.05
Fundamentals of Programming GeoCOM
TMC_HZ_V_ANG
double
TMC_INCLINE_PRG
TMC_AUTO_INC
Mode
TMC_HZ_V_ANG
dSlopeDistance
file in the samples directory. Please refer to Appendix
WaitTime,
&OnlyAngle,
&dSlopeDistance,
Mode)
denotes default
com_pub.hpp
WaitTime
has the following form
parameter because the counting
and the fourth value
. (Note that the first value
= 1000
dHz
3-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents