2 Command System RIGOL
DS2000E Programming Guide
:WAVeform:PREamble?
Syntax
:WAVeform:PREamble?
Description
Query and return all the waveform parameters.
Return Format
The query returns 10 waveform parameters separated by commas:
<format>,<type>,<points>,<count>,<xincrement>,<xorigin>,<xreference>,<yincrement>,<yorigin>
,<yreference>
Wherein,
<format>: 0 (BYTE), 1 (WORD) or 2 (ASC). Refer to the
:WAVeform:FORMat command.
<type>: 0 (NORMal), 1 (MAXimum) or 2 (RAW). Refer to the
:WAVeform:MODE command.
<points>: an integer between 1 and 28000000. Refer to the
:WAVeform:POINts command.
<count>: the number of averages in average sample mode (refer to the
:ACQuire:AVERages command)
and 1 in other modes.
<xincrement>: the time difference (scientific notation) between two neighboringpoints in the X direction.
Refer to the
:WAVeform:XINCrement? command.
<xorigin>: the start time (scientific notation) of the waveform data in the X direction. Refer to
the
:WAVeform:XORigin? command.
<xreference>: the reference time (integer) of the data point in the X direction. Refer to
the
:WAVeform:XREFerence? command.
<yincrement>: the unit voltage value (scientific notation) in the Y direction. Refer to
the
:WAVeform:YINCrement? command.
<yorigin>: the vertical offset (integer) relative to the "Vertical Reference Position" in the Y direction.
Refer to the
:WAVeform:YORigin? command.
<yreference>: the vertical reference position (integer) in the Y direction. Refer to
the
:WAVeform:YREFerence? command.
Example
:WAVeform:PREamble?
/*The query returns 0,0,1400,1,1.000000e-08,-7.000000e-06,0,4.000000e-02,0,127*/