#4,2,Bnnn; the file in internal memory containing logger, where nnn is the number of the
logger file (one or more digits - depends on requirements).
#4,3; the special file contained in the RAM memory (RAMfile),
#4,3,?; size of the RAM file
#4,3,offs,len; the part of RAM file
where:
offs offset from the beginning of the file
len number of bytes to read.
#4,5,'\'; the file containing the catalogue of USB DISK,
#4,5,?; the count of files on USB DISK
#4,5,idx,count; the part of the file containing the catalogue of USB DISK
where:
idx first record
count number of records to read.
The catalogue of the files on USB DISK is a set of the records containing 32 bytes. Each record describes
one file saved in the USB DISK. The record structure is as follows:
bytes 0-10 - file name with extension
byte 11 - reserved
bytes 12-15 - file length in bytes
bytes 16-19 - number of file in catalogue
bytes 20-21 - file creation date
bytes 22-23 - file creation time
bytes 24-31 - reserved
#4,6,fname,?; file size,
#4,6,fname,offs,len; the part of the file on USB DISK
where:
fname - name and extension containing not more than 11 characters
offs - offset from the beginning of the file (an even number)
len - number of bytes to read (an even number)
Note: The "\" character is the obligatory catalogue file name (it must be sent
to the instrument).
The device will respond sending the specified file/catalogue in the following format:
#4,k;<4 bytes giving the file size (in binary form)><data byte>...<data byte>
All data words are sent as <LSB>,<MSB>.
When an error is detected in the file specification or data, the instrument will send: #4,?;