Leica TPS1200 Series Reference Manual page 126

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

Advertisement

GeoCOM Reference Manual
13.3.7
FTR_Delete – Delete file
AUT_ReadTol ...............................................
.............................................................................................................................................................................................................................
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 9008
9015................................................................................................................................................. AUT_ReadTol
C-Declaration
FTR_Delete(FTR_DEVICETYPE eDeviceType, FTR_FILETYPE eFileType,
FTR_MODDATE DelDate, char *szFileName,
unsigned short &runNumFilesDeleted);
VB-Declaration
VB_FTR_Delete(DeviceType As Long, FileType As Long, DelDate As FTR_MODDATE,
Request
%R1Q,23309:eDeviceType,eFileType,ucDay,ucMonth,ucYear,szFileName
ASCII-Response
%R1P,0,0:RC,unNumFilesDeleted
Remarks
This command deletes one or more files. Wildcards may be used to delete multiple files. If deletion date is valid
only files older than deletion date are deleted.
Parameters
eDeviceType
eFileType
DelDate
runNumFilesDeleted
Return-Codes
GRC_OK
GRC_IVPARAM
See Also
FTR_List
Example
GRC_TYPE
FTR_DEVICETYPE
FTR_FILETYPE
FTR_MODDATE
char
unsigned short
eDeviceType = FTR_DEVICE_PCPARD;
eFileType = FTR_FILE_IMAGES;
DelDate.ucMonth = 0;
strcpy(szFileName, "image000.jpg");
unNumFilesDeleted = 0;
// delete file
rc = FTR_Delete(eDeviceType, eFileType, DelDate, szFileName,
if(rc == GRC_OK)
{
if(unNumFilesDeleted == 1)
{
// file deleted
}
}
Leica TPS1200 – Version 1.50
ByVal FileName As String, NumFilesDeleted As Integer)
in
in
in
out
0
2
rc;
eDeviceType;
eFileType;
DelDate;
szFileName[128];
unNumFilesDeleted;
unNumFilesDeleted);
Device type.
File type.
Deletion date. Valid if ucMonth is not 0.
Number of deleted files
Execution successful.
Device not available or can not get path.
File Transfer - FTR
126

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm30Ts30Tps1200+

Table of Contents