With IM3750, two types of data transmission format are supported: ASCII and binary.
There is also long format mode which allows 10 digits for the number of effective digits of measurement values.
The data transmission speed differs depending on the data transfer format or long format setting.
When a value is negative, a minus "-" sign is added before the measurement value.
When a value is positive, a space " " sign is added before the measurement value.
However, a space is not added in the following cases.
If a :FORMat:DATA REAL command is executed, the IM3750 transmits the data in binary format.
The data portion of the commands/queries shown below is returned in binary format.
Example of response data format
The response data consist of the header portion, data portion, and terminator.
The following describes the format of each portion.
For details on the response data format.
The header portion consists of the three parameters shown below.
"#"(1byte) | Sign used for data output format |
"Number of digits for <Number of bytes to transfer>"(1byte) | Number of digits for number of bytes of data portion |
"Number of bytes to transfer (number of digits byte)" | Number of bytes of data portion |
When the data portion is 13 bytes, it is as shown below.
#213
The number of bytes of the data portion for the response data of the :MEASure? query in ANALYZER mode or the response data of the :MEMory? query is the total for n sweep points or for n measurement values.
" The number of digits for <Number of bytes to transfer>" is fixed as shown below.
Therefore, if the measurement value of one 14-byte measurement value data is 200 sweep points and if 200 items are stored to memory, the number of bytes to transfer is 2,800 bytes, and the header portion is as shown below.
The data portion returns the data of the parameters set in the :MEASure:VALid and :MEASure:ITEM commands in the same way as with ACSII format.
See: :MEASure? query message reference or :MEMory? query message reference
A message terminator is added in accordance with the instrument settings.