#4 function enables the user to read-out the data file from the internal Flash-Disk or RAM memory.
The data file formats are given in Appendix B.
#4 function formats are defined as follows:
#4,0,\; file containing the catalogue,
#4,0,?; count of the files,
#4,0,index,count; part of the file containing the catalogue,
where:
index - first record,
count - number of records in the catalogue.
#4,1,fname; file containing the measurement results,
#4,1,fname,?; size,
#4,1,fname,offset,length; part of the file containing the measurement results,
where:
fname - name containing not more than eight characters,
offset - offset from the beginning of the file,
length - number of bytes to read,
#4,4; current settings file,
#4,4,?; size of the current settings file,
#4,4,offset,length; part of current settings file,
where:
offset - offset from the beginning of the current settings file,
length - number of bytes to read,
All data words are sent as <LSB>,<MSB>.
When an error is detected in the file specification or data, the instrument will send:
#4,?;
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 or RAM. The record structure is as follows:
words 0 - 3 8 characters of the file name,
word 4 type (binary number),
word 5 reserved,
word 6 least significant word of the file size,
word 7 most significant word of the file size,
words 8 - 15 reserved.