GeoCOM Reference Manual
File Transfer - FTR
Leica TPS1200 – Version 1.50
122
13.3.4
FTR_SetupDownload – Setup download
AUT_ReadTol ...............................................
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 9008
.............................................................................................................................................................................................................................
9012
.................................................................................................................................................
AUT_ReadTol
C-Declaration
FTR_SetupDownload(FTR_DEVICETYPE eDeviceType, FTR_FILETYPE eFileType,
char *szFileNameSrc, unsigned short unBlockSize,
unsigned short &runNumOfBlocks)
VB-Declaration
VB_FTR_SetupDownload(DeviceType As Long, FileType As Long,
ByVal FileNameSrc As String, BlockSize As Integer,
NumOfBlocks As Integer)
Request
%R1Q,23303:
eDeviceType
,
eFileType,szFileNameSrc
,
unBlockSize
ASCII-Response
%R1P,0,0:
RC,
unNumOfBlocks
Remarks
This command sets up the download of a file from the instrument. It has to be called before command
FTR_Download can be used.
Parameters
eDeviceType in
Device type.
eFileType in
File type.
szFileNameSrc in
File name with extension. I
f
file type is
FTR_FILE_UNKNOWN additional file path is
required.
unBlockSize in
Block size. Max value is
FTR_MAX_BLOCKSIZE.
runNumOfBlocks out
Number of blocks required to upload the file.
Return-Codes
GRC_OK
0 Execution
successful.
GRC_IVPARAM
2
Device not available or can not get path.
GRC_NOTOK
26
Setup already done or FTR_AbortDownload() not called.
GRC_FTR_INVALIDINPUT
13059
Block size too big.
GRC_FTR_FILEACCESS
13056
File access error.
See Also
FTR_Download
FTR_AbortDownload
Example
See FTR_Download