Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Query results
Explanation
XINCR 100.000
0E-9
This value indicates the time, in seconds, or frequency, in hertz, between data points in the
waveform record. This is query only. (If you would like to determine only this value, use
the WFMOutpre
:XINcr? query.)
XZER0 -500.0000E-6
This value in
dicates the time, in seconds, or frequency, in hertz, of the first data point in the
waveform record. This time or frequency is relative to the time of the trigger, which is always
0. So, this XZEro time or frequency can be negative. This is query only. (If you would like to
determine o
nly this v alue, use the WFMOutpre:XZEro? query.)
PT_OFF 0
This is a que
ry provided only for compatibility with performance oscilloscopes. The
returned value is always 0. ( If you would like to determine only this value, use the
WFMOutpre:PT_Off? query.)
YUNIT “State”
This value indicates the vertical units of data points in the waveform record. This can be
any of sev
eral string values, depending upon the vertical units of the source waveform –
in this case, State. This is query only. (If you would like to determine only this value, use
the WFMOutpre:YUNit? query.)
YMULT 1.0000
This value indicates the multiplying factor to convert the data point values from digitizing
levels t
o the units specified by the
WFMOUTpre:YUNit command. This is query only. (If
you would like to determine only this value, use the WFMOutpre:YMUlt? query.)
YOFF 0.
0E+0
This value indicates the vertical position of the source waveform in digitizing levels. There
are 25 digitizing levels per vertical division. This is query only. (If you would like to determine
only th
is value, use the WFMOutpre:YOFf? query.)
YZERO 0.0E+0
This v
alue indicates the vertical offset of the source waveform in units specified by the
WFMOUTpre:YUNit command. This is query only. (If you would like to determine only this
value, use the WFMOutpre:YZEro? query.)
Example 4: The Digital Collection with 8 Bytes Per Point and MagniVu Off
Goal
: Transfer 25 points of Digital Collection data from the oscilloscope to a PC
using 8 bytes per point and MagniVu off.
Command Comment
:D
ATa:SOUrce DIGital
:ACQuire:MAGnivu 0
:DATa:START 1
:DATa:STOP 25
:WFMOutpre:ENCdg ASCii
:WFMOutpre:BYT_Nr 8
:HEADer 1
:VERBose 1
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual D-7