Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Q uery results
Explanation
PT_OFF 0
This is a query provided only for compatibility with other Tektronix oscilloscopes. T he
returned value is always 0. ( If you would like to determine only this value, use the
WFMOutpre:PT
_Off? query.)
YUNIT “State”
This value in
dicates the vertical units of data points in the waveform record. This can be
any of several 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 WFMOutp
re:YUNit? query.)
YMULT 1.0000
This value i
ndicates the multiplying factor to convert the data point values from digitizing
levels to 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
are25dig
itizing levels per vertical division. This is query only. (If you would like to determine
only this value, use the WFMOutpre:YOFf? query.)
YZERO 0.0
E+0
This value indicates the vertical offset of the source waveform in units speci fied by the
WFMOUTpre:YUNit command. This is query only. (If you would like to determine only this
value, u
se the WFMOutpre:YZEro? query.)
Example 7: RF Frequency Domain Waveform
Goal: Transfer 5 points of RF frequency domain data from the oscilloscope to
a PC using 4 bytes per point.
NOTE. A frequency domain waveform used in data transfer from the oscilloscope
to a PC or other device may be one of the four RF frequency domain traces or
the S
pectrum Math waveform.
Command Comment
:DATa:SOUrce RF_NORMal
:DATa:STARt 495
:DATa:STOP 505
:
WFMOutpre:ENCdg ASCii
:WFMOutpre:BYT_Nr 4
:HEADer 1
:VERBose 1
D-14 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual