Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Query results
Explanation
XZER0 -500.00
00E-6
This value indicates 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 XZE
ro time or frequency can be negative. This is query only. (If you would like to
determine only this value, use the WFMOutpre:XZEro? query.)
PT_OFF 0
This is a query provided only for compatibility with other Tektronix 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 i
ndicates 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. T his is query only. (If you would like to determine only this value, use
the WFMOut
pre:YUNit? query.)
YMULT 1.0000
This valu
e indicates 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
are25di
gitizing levels per vertical division. This is query only. (If you would like to determine
only this value, use the WFMOutpre:YOFf? query.)
YZERO 0
.0E+0
This value 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 5: Digital with 4 Bytes Per Point and Zoom On
Goal: Transfer 2 5 points of Digital data from the oscilloscope to a PC u sing 4
bytes per point and Zoom on.
Command Comment
:DATa:SOUrce CH1_D1
:AC
Quire:MAGnivu 1
:DATa:START 1
:DATa:STOP 25
:WFMOutpre:ENCdg ASCii
:WFMOutpre:BYT_Nr 4
:HEADer 1
:VERBose 1
D-10 MSO54, MSO56, MSO58, MSO58LP Programmer