Leica TPS1200 Series Reference Manual page 20

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

Advertisement

GeoCOM Reference Manual
Note: To reduce redundancy the return type has been omitted from the C- and VB-declarations of the RPC's.
ASCII-Request and Reply do not explain the whole data structures. Instead the corresponding base types will be
given. Please refer to chapter 2.2 to get more information on this topic.
Also because of redundancy the necessary CR/LF at the end has been omitted from ASCII-Request and Reply.
4.1.3 Sample of a RPC Description
1.1.1 CSV_GetDateTime- Get date and time.
C-Declaration
GetDateTime
CSV_
VB-Declaration
VB_CSV_GetDateTime (DateAndTime As DATIME)
ASCII-Request
R1Q
%
,5008:
ASCII-Response
R1P
,0,0:RC,Year[short],Month,Day,Hour,Minute,Second[all byte]
%
Remarks
The ASCII response
type
DATIME
%R1P,0,0:0,1996,'07', '19','10','13','2f'
chapter ASCII data type declaration for further information)
Parameters
DateAndTime
Return-Codes
GRC_OK
GRC_UNDEFINED
See Also
CSV_SetDateTime
Example
GRC_TYPE
DATIME
rc = CSV_GetDateTime(DateAndTime);
if (rc == GRC_OK)
{
// use Date and time
}
else
{
// handle error
Leica TPS1200 / TS30 / TM30 – Version 1.50
(DATIME &DateAndTime)
Declarations for different
protocols
Remarks to this function and its usage
is formated corresponding to the dat
. A possible response can look like this:
Detailed description of parameters
out
Encoded date and time.
Execution successful.
Time and/or date is not set (yet).
Meaning of return codes
rc;
Cross reference to related functions
DateAndT
ime;
A typical
usage of this
function
Title and description
a
(see
Remarks on the Description
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents