Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
Command Comment
: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 4;BI T_NR 32;ENCDG ASCII;BN_FMT
FP;BYT_OR MSB;WFID "RF_NORMAL, unknown coupling,
10.00W/div,
200.0MHz/div, 1001 points, Sample mode,
Center Freq: 2.400GHz, Span: 2.000GHz, Reference
Level: 1.000mW";NR_PT 21;PT_ FMT Y;PT_ORDE R LINEAR;XUNIT
"Hz";XINCR
2.0000E+6;XZERO 1.4000E +9;PT_OFF 0;YUNIT
"W";YMULT 1.5625E-3;YO FF 0.0E+0;YZERO 0.0E +0;DOMAIN
FREQUENCY;WFMTYPE RF_F D;CENTERFREQUENCY 2.4000E+9;SPAN
2.0000E+9
;REFLEVEL 1.0000E-3
:CURVe?
Returns th
e following values. Each value represents a data point:
:CURVE
2.43108E-10,1.62648E -10,2.78478 E-10,4.15163E-10,7.66223E-10,
7.63905E
-10,3.68375E-10,3.4 2668E-10,3. 06422E-10,1.81561E-10,
2.0223E-10,4.24327E- 10,1.95298E -10,2.1304E-10,9.41791E-11,
4.56513E-10,4.33067E -10,6.57215 E-11,1.65388E-10,9.09116E-10,
5.39507
E-10
WFMOutp
re? Query results
Explanation
BYT_NR 4
This val
ue specifies the number of bytes per data point in the waveform data. This value
is fixed for RF frequency domain traces.
BIT_NR
32
This value specifies the number of bits per data point in the waveform data. This value
is fixed for RF frequency domain traces.
ENCDG ASCII This value specifies the encoding of the waveform data. To change this value (the other
possi
bility for RF frequency domain traces is FPBINARY), use the WFMOutpre:ENCdg
command. This value can also be set using the DATa:ENCdg command.
BN_F
MT FP
This value specifies the binary format, which i n this case is FP (floating point). This value is
fixed for RF frequency domain traces. Note: This field is not applicable for ASCii encoding.
BYT_OR MSB This value specifies the byte order for the BINARY encoding, which in this case is MSB
(mo
st significant byte first, also known as IBM format). To change this value to LSB, use the
WFMOutpre:BYT_Or command. Note: This field is not applicable for ASCii encoding.
WFID "RF_NORMAL, unknown
coupling, 10.00W/div, 200.0MHz/div,
10
01 points, Sample mode, Center
Freq: 2.400GHz, Span: 2.000GHz,
Reference Level: 1.000mW"
This quoted string represents information about the source waveform that would be returned
by a WFMOutpre:WFId? Query. It cannot be changed.
NR_PT 21
This value indicates the number of data points in the waveform record. ( If you would like to
d
etermine only this value, use the WFMOutpre:NR_Pt? query.) Note: This value is typically
equal to the full record length of the RF frequency domain trace, but you also have the option
to transfer only a portion of the record using the DATs:STARt and DATa:STOP commands.
PT_FMT Y
This value indicates the format of the data points in the waveform record. In this case, the
value represents YF (Amplitude vs. Frequency) format. This is query only. (If you would like
to determine only this value, use the WFMOutpre:PT_Fmt? query.
PT_ORDER LINEAR .
This value is always LIN ear
D-16 MSO54, MSO56, MSO58, MSO58LP Programmer