I'd like to know if anybody can provide me more information about Keysight's file transfer protocol/data format for exchanging data between instrument and controller application using SCPI commands such as:
- MMEMory:DOWNload:DATA <binary_block>,
- MMEMory:UPLoad? <filename>, or
- MMEMory:TRANsfer <fileName>,<dataBlock>
What I found so far is minimal and comes from publicly available programming manuals where for example MMEM:TRAN data format is presented with simple example:
Example:
#210ABCDE+WXYZ<nl><end>
Where:
# - always sent before definite block data
2 - specifies that the byte count is two digits (2)
10 - specifies the number of data bytes that will follow, not counting <NL><END>
ABCDE+WXYZ - 10 digits of data
<NL><END> - always sent at the end of block data
There is a note that file must be no larger than 20MB. It is possible that data exchange of e.g. 10MB is one 10MB long string? Or it is sliced to many chunks? If yes, how long they are?
In other case, MMEM:DOWN:DATA include this example:
The following example writes the word "Hello" to the file "\Myfile" on the internal flash file system.
MMEM:DOWN:FNAM "INT:\Myfile"
MMEM:DOWN:DATA #15Hello
Also any sample data is more then welcome. Thanks in advance.