Instructions

Table Of Contents
Remote Control Commands
R&S
®
Scope Rider RTH
498User Manual 1326.1578.02 ─ 15
CHANnel<m>:DATA:HEADer?
Returns the header of channel waveform data.
Table 15-2: Header data
Position Meaning Example
1 XStart in s -5e-07 = -5 ns
2 XStop in s 5e-07 = 5 ns
3 Record length of the waveform, number of samples 2500
4 Number of values per sample interval. For most
waveforms the result is 1, for peak detect and enve-
lope waveforms it is 2. If the number is 2, the num-
ber of returned values is twice the record length.
2
Suffix:
<m>
.
1|2 (RTH1002) , 1..4 (RTH1004)
Example:
CHAN1:DATA:HEAD?
-5e-07,5e-07,2500,2
CHANnel1:DATA? returns 5000 values.
Usage: Query only
SCPI confirmed
CHANnel<m>:DATA[:VALues]?
Returns the data of the channel waveform points for transmission from the instrument
to the controlling computer. The data can be used in MATLAB, for example.
To set the data format, use FORMat[:DATA] on page 497
Suffix:
<m>
.
1|2 (RTH1002) , 1..4 (RTH1004)
Return values:
<Data> List of values according to the format
Example:
FORM ASC
CHAN2:DATA?
<-- -0.125000,-0.123016,-0.123016,-0.123016,
-0.123016,-0.123016,...
Usage: Query only
15.13.3 Screenshots
The example program creates a screenshot and saves it to a file on the SD card. Then
the screenshot data is read and deleted.
:HCOPy:LANGuage PNG
:MMEMory:NAME '/media/SD/Screenshot.png'
Documenting Results