Leica tps1100 Reference Manual page 36

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
4.1.3
Sample of a RPC Description
1.1.1
C-Declaration
VB-Declaration
ASCII-Request
ASCII-Response
Remarks
Parameters
Return-Codes
See Also
Example
TPS1100 - Version 1.05
CSV_GetDateTime- Get date and time.
GetDateTime
CSV_
VB_CSV_GetDateTime (DateAndTime As DATIME)
R1Q
%
,5008:
R1P
,0,0:RC,Year[short],Month,Day,Hour,Minute,Second[all byte]
%
The ASCII response is formated corresponding to the data
type
. A possible response can look like this:
DATIME
%R1P,0,0:0,1996,'07', '19','10','13','2f'
chapter ASCII data type declaration for further information)
DateAndTime
RC_OK
RC_UNDEFINED
CSV_SetDateTime
RC_TYPE
rc;
DATIME
DateAndTime;
rc = CSV_GetDateTime(DateAndTime);
if (rc == RC_OK)
{
// use Date and time
}
else
{
// handle error
(DATIME &DateAndTime)
Declarations for different
protocols
Remarks to this function and its usage
Detailed description of parameters
out
Encoded date and time.
Execution successful.
Time and/or date is not set (yet).
Meaning of return codes
Cross reference to related functions
A typical
usage of this
function
Remarks on the Description
Title and description
(see
4-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents