Remote control commands
R&S
®
RTO6
1342User Manual 1801.6687.02 ─ 05
24.8.6 W
aveform data
T
o set the export data format, see FORMat[:DATA]
on page 1292.
CHANnel<m>[:WAVeform<n>]:DATA:HEADer?............................................................... 1342
CHANnel<m>[:WAVeform<n>]:DATA[:VALues]?.............................................................. 1342
CHANnel<m>[:WAVeform<n>]:DATA:HEADer?
Returns the header of channel waveform data.
Table 24-1: Header data
Position Meaning Example
1 XStart in s -9.477E-008 = - 94,77 ns
2 XStop in s 9.477E-008 = 94,77 ns
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
Selects the waveform. If [:WA
Veform<n>] is omitted, waveform 1
is adressed.
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.
Acquisition and setup