Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Q uery results
Explanation
YUNIT “State”
This value indicates the vertical units of data points in the waveform record. T his can be
any of several string values, depending upon the vertical units of the source waveform –
in this case, S
tate. 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 c onvert the data point values from digitizing
levels to the units specified by the
WFMOUTpre:YUNit command. This is query only. (If
you w ould li
ke to determine only this value, use the WFMOutpre:YMUlt? query.)
YOFF 0.0E+0
This value i
ndicates 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 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
WFMOUTpr
e:YUNit
command. This is query only. (If you would like to determine only
this value, use the WFMOutpre:YZEro? query.)
Example
3: The Digital Collection with 4 Bytes Per P oint and MagniVu Off
Goal: Transfer 25 points of Digital Collection data from the oscilloscope to a PC
using 4 bytes per point and MagniVu off.
Command Comment
:DATa:SOUrce DIGital
:ACQuire:MAGnivu 0
:DATa:START 1
:DATa:STOP 25
:WFMOutpre:ENCdg ASCii
:WF
MOutpre:BYT_Nr 4
:HEADer 1
:VERBose 1
:W
FMOutpre?
Returns the following values. Each v alue represents the current settings that
a
CURVe? query will use to format the data that will be transferred from the
o
scilloscope to a PC or other device (see next table for explanations):
:WFMOUTPRE:BYT_NR 4;BIT _NR 32;ENCDG ASCII;BN_FMT
RI;BYT_OR MSB;WFID "Digital, unknown coupling,
1
00.0us/div, 10000 points, Digital mode";NR_PT 25;PT_F MT
Y;PT_ORDER LINEAR;XUNIT "s";XINCR 100.0000E-9;XZERO
-500.0000E-6;PT_OFF 0;YUNIT "State"; YMULT 1.0000;YOF F
0.0E+0;YZERO 0.0E+0
:CURVe?
Returns the following values. Each value represents a data point:
:CURVe
FB386,FB366,FB3E6,FB366,FB3 E6,FB32E,FB 3A2,FB32E,FB3AA,FB36 6,
FB3EA,FB366,FB3E2,FB36,FB3E 6,FB366,FB3 E6,FB346,FB3C6,FB346 ,FB3C6,
FB34E,FB3C2,FB34E,FB3CA
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual D-5