A.5. FUNCTION #4 – READ-OUT OF THE DATA FILE FROM THE INTERNAL FLASH-DISC AND/OR THE
SPECIAL FILE LOCATED IN THE RAM MEMORY
Function #4 enables the user to read-out the data file from the internal Flash-disc memory.
The data file formats are given in Appendix B.
#4 function formats are defined as follows:
#4,0,\; the file containing the catalogue,
#4,0,?; the count of files
#4,0,index,count; the part of the file containing the catalogue
where:
index - first catalogue record
count - numbers of catalogue records
The catalogue of the files is a set of the records containing 16 words (16 bits each). Each record describes
one file saved in the instrument’s Flash-disc. The record structure is as follows:
words 0 - 3 8 character file name,
word 4 file type (binary number),
word 5 reserved,
word 6 least significant word of the file size,
word 7 most significant word of the file size,
word 8 least significant word of the file logical address,
word 9 most significant word of the file logical address,
word 10 measurement start date,
word 11 measurement start time,
words 12 - 15 reserved.
For the RAMfile the logical address is always set to 0.
For the files on the USB drive logical address is always set to 0xFFFFFFFF.
For files containing saved setup measurement or logger data the start date and time are always set to file
creation date and time.
#4,1,FILE NAME; the file containing the measurement results or saved setup,
#4,1,FILE NAME,?; file size
#4,1,FILE NAME,offs,len; part of the file containing the measurement results or saved setup,
#4,1,<addr,len; part of the file containing the measurement results or saved setup,
where:
FILE NAME not longer than eight-character file name,
addr absolute internal address,
offs offset from the beginning of the file
len number of bytes to read.