Leica tps1100 Reference Manual page 124

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
11.3.4 CSV_GetDateTime - Get date and time.
CSV_GetDateT ime............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 5008
5008 ................................................................................................................................................................................................................................................................CSV_GetDateT ime
C-Declaration
CSV_GetDateTime(DATIME &DateAndTime)
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 is formatted corresponding to the data type
A possible response can look like this
'19','10','13','2f'
further information)
Parameters
DateAndTime
Return-Codes
RC_OK
RC_UNDEFINED
See Also
CSV_SetDateTime
Example
RC_TYPE
DATIME
rc = CSV_GetDateTime(DateAndTime);
if (rc == RC_OK)
{
// use Date and time
}
else
{
// time and/or date is not set (yet)
// use CSV_SetDateTime to set date and time
// (March 25 1997, 10:20)
DateAndTime.Date.Year
DateAndTime.Date.Month
TPS1100 - Version 1.05
(see chapter ASCII data type declaration for
out
Execution successful.
Time and/or date are not set (yet).
rc;
DateAndTime;
: %R1P,0,0:0,1996,'07',
Encoded date and time.
= 1997;
= 3;
Central Services - CSV
DATIME
.
11-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents