Instructions

Table Of Contents
Remote Control Commands
R&S
®
Scope Rider RTH
497User Manual 1326.1578.02 ─ 15
FORMat[:DATA] <Format>
Sets the data type that is used for transmission of waveform data from the instrument
to the controlling computer.
Waveform data can be retrieved using the following command: CHANnel<m>:DATA[:
VALues]? on page 498
Parameters:
<Format> ASCii | INT,16
ASCii
Data values are returned in ASCII format as a list of comma sep-
arated values in floating point format. The length can be omitted.
It is 0 which means that the instrument selects the number of
digits to be returned. The query returns both values (ASC,0).
INT,16
Signed integer data with length 16 bit. It defines that
CHANnel<m>:DATA[:VALues]? returns the raw sample data
of the ADC as integers. If format of the waveform data differs
from the defined export format, the instrument converts the data
to the required format.
The schema of the result string is as follows:
#41024<value1><value2>…<value n> with:
#4 = number of digits (= 4 in the example) of the following num-
ber
1024 = number of following data bytes (= 1024 in the example)
<value> = 4-byte floating point values
You can also set the byte order using the FORMat:BORDer
command.
Data conversion is described in "Data conversion of integer val-
ues if FORMat:DATA INT,16 is used" on page 496.
*RST:
ASCii
Example:
FORMat:DATA INT,16
FORMat:DATA?
<-- INT,16
Usage: SCPI confirmed
FORMat:BORDer <ByteOrder>
Sets the endianess if FORMat[:DATA] is set to INT,16.
Parameters:
<ByteOrder> MSBFirst | LSBFirst
LSBFirst: little endian, least significant byte first
MSBFirst: big endian, most significant byte first
*RST: LSBFirst
Documenting Results