Remote control commandsMXO 4 Series
515User Manual 1335.5337.02 ─ 07
CHANnel<ch>: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. If you send only one parameter, it is interpreted as offset, and the data is
retrieved from offset to the end of the waveform.
To set the export format, use FORMat[:DATA] on page 483.
Suffix:
<ch>
.
1 to 4, index of the analog channel
Query parameters:
<Offset> Number of offset waveform samples to be skipped.
Range: 0 to m. Limit: n + m <= record length
<Length> Number of waveform points to be retrieved.
Range: 1 to n. Limit: n + m <= record length
Return values:
<Data> List of values according to the format and content settings.
Example: Retrieve the complete channel 1 waveform, only Y-values:
FORM ASC
CHAN1:WAV:DATA?
<-- -0.125000,-0.123016,-0.123016,-0.123016,-0.123016,-0.123016,...
Example: Retrieve the first 10 values of the waveform:
CHANnel:WAVeform:DATA:VALues? 0,10
<-- -0.10079051554203,-0.098814234137535,-0.098814234137535,
-0.096837945282459,-0.094861663877964,-0.094861663877964,
-0.092885382473469,-0.090909093618393,-0.090909093618393,
-0.088932812213898
Example: Skip 5 samples and retrieve the next 5 samples:
CHANnel:WAVeform:DATA:VALues? 5,5
<-- -0.094861663877964,-0.092885382473469,-0.090909093618393,
-0.090909093618393,-0.088932812213898
Usage: Query only
Asynchronous command
17.8.6 Acquisition setup
ACQuire:AVAilable?........................................................................................................516
ACQuire:AVERage?....................................................................................................... 516
ACQuire:COUNt............................................................................................................ 516
ACQuire:CURRent?....................................................................................................... 517
ACQuire:INTerpolate...................................................................................................... 517
ACQuire:POINts[:VALue]................................................................................................ 517
ACQuire:POINts:ARATe?................................................................................................ 517
Acquisition and setup