Remote control commands
R&S
®
RTE
1122User Manual 1326.1032.02 ─ 20
Position Meaning Example
3 Record length of one waveform 200000
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 number of sam-
ples (record length).
1
If multichannel export is enabled, the number of returned samples is Record length *
Number of exported waveforms. See also EXPort:WAVeform:MULTichannel.
Suffix:
<m>
.
1..4
Selects the input channel.
<n> 1..3
[:WAVeform<n>] is irrelevant, omit it.
Example:
CHAN1:WAV1:DATA:HEAD?
-9.477E-008,9.477E-008,200000,1
Usage: Query only
CHANnel<m>[:WAVeform<n>]:DATA[:VALues]? [<Offset>], [<Length>]
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.
Without parameters, the complete waveform is retrieved. Using the offset and length
parameters, data can be retrieved in smaller portions, which makes the command
faster.
To set the export format, use FORMat[:DATA].
You can retrieve only Y-values (usually voltage values), or X- and Y-values. Use
EXPort:WAVeform:INCXvalues to define which values are retrieved.
If multichannel export is active (EXPort:WAVeform:MULTichannel), the channel
suffix is ignored. To select the channels to be exported, use CHANnel<m>:
EXPortstate. The Y-values are written in interleaved order, for example, YCh1
0
;
YCh2
0
; YCh1
1
; YCh2
1
... for a 2-channel instrument.
Suffix:
<m>
.
1..4
Selects the input channel.
<n> 1..3
[:WAVeform<n>] is irrelevant, omit it.
Query parameters:
[<Offset>] Number of offset waveform points.
Range: 0 to m. Limit: n + m >= record length
Acquisition and setup