Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Query results
Explanation
YMULT 1.0000
This value 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
youwouldlike
to determine only this value, use the WFMOutpre:YMUlt? query.)
YOFF 0.0E+0
This value in
dicates the vertical position of the source waveform in digitizing levels. There
are 25 digitizing levels per vertical division. This is query only. (If y ou 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 4
: Digital with 8 Bytes Per Point and Zoom Off
Goal: Transfer 2 5 points of Digital data from the oscilloscope to a PC u sing 8
bytes per point and Zoom off.
Command Comment
:DATa:SOUrce CH1_D1
:ACQuire:MAGnivu 0
:DATa
:START 1
:DATa:STOP 25
:WFMOutpre:ENCdg ASCii
:WFMOutpre:BYT_Nr 8
:HEADer 1
:VERBose 1
:WFMOutpre?
Returns the following values. Each value represents the current settings that
a
CURVe? query w ill use to format the data that will be transferred from the
oscilloscope to a PC or other device (see next table for explanations):
:WFMOUTPRE:BYT_NR 8;BI T_NR 64;ENCDG ASCII;BN_FMT
RI;BYT_OR MSB;WFID "Digital, unknown coupling,
100.0us/div, 10000 points, Digital mode";NR_PT 25;PT_FMT
Y;PT_ORDER LINEAR;XUNI T " s";XINCR 100. 0000E-9;XZE RO
-500.0000E-6;PT_OFF 0; YUNIT "State";YMULT 1.0000;YOFF
0.0E+0;YZERO 0.0E+0
:CURVe?
Returns the following values. Each value represents a data point:
:CURVe
80000FB386,E0000FB38 6,80000FB3E 6,80000FB3E6,80000FB3E6,
C8000FB3A6,8C000FB3A 6, 8C000FB3A6,84000FB3AE,CC000FB3A 6,
8C000FB3E6,8C000FB3E 6,84000FB3E 6,80000FB3E6,80000FB3E6,
80000FB3E6,80000FB3E 6,A0000FB3C 6,80000FB3C6,80000FB3C6,
80000FB3C6,88000FB3C 6,8C000FB3C 6, 8C000FB3C6,8400 0FB3CE
NOTE. The returned hexadecimal data values are formatted without leading
zeroes.
D-8 MSO54, MSO56, MSO58, MSO58LP Programmer