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 will 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;B IT_NR 32;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;XUNIT "s";XINCR 1.2121E-9;XZERO
-6.0606E-6;PT_OFF 0;Y UNIT "State";YMULT 1.0000;YOFF
0.0E+0;YZE
RO 0.0E+0
:CURVe?
Returns the following values. Each value represents a data point:
:CURVe
FB6E6,FB6
66,FB6E6,FB666,FB666 ,FB6E6,FB666 ,FB6E6,FB666,
FB666, FB6E6,FB666,FB 6E6,FB6E6,FB666,FB6E6,FB666,FB6 66,
FB6E6,FB666,FB6E6, FB6E6,FB666 ,FB6E6,FB666
NOTE. The returned hexadecimal data values are formatted without leading
zeroes.
NOTE. You can also use the
WAVFrm?
query, which concatenates the
WFMOutpre?
and
CURVe?
queries.
WFMOu
tpre? Qu e ry results
Explanation
WFMOUTPRE:BYT_NR 4
This v
alue specifies the number of bytes per data point in the waveform data. To change
this value automatically, use the WFMOutpre:BYT_Nr command. Note that changing this
value automatically changes the
BIT_NR value accordingly. (This value can also be set
usin
gtheDATa:WIDth command.)
BIT_NR 32
This
value specifies the number of bits per data point in the waveform data. To change this
value, use the WFMOutpre:BIT_Nrcommand. Note that changing this value automatically
changes the
BYT_NR value accordingly.
ENCDG ASCII
This value specifies the encoding of the waveform data. To change this value (the
oth
er possibility is BINARY), use the WFMOutpre:E NCdg command. (This value can
also be set using the DATa:ENCdg command, which provides the ability to set the
WFMOutpre:ENCdg, WFMO utpre:BN_Fmt,: and WFMOutpre:BYT_Or values
us
ing a single command.)
BN_FMT RI
Th
is value specifies the binary format, which in this case is R I (signed integer). To change
this value (the other possibility is RP or positive integer), use the WFMOutpre:BN_Fmt
command. 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
(
most significant byte first, also known as IB M format). To change this value to LSB, use the
WFMOutpre:BYT_Or command. Note: this field is not applicable for ASCii encoding.
MSO54, MSO56, MSO58, MSO58LP Programmer D-11