Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
WFMOutpre? Query results
Explanation
BYT_NR 1
This value 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 automat
ically changes the
BIT_NR value accordingly. (Thisvaluecanalsobeset
using the DATa:WIDth command.)
BIT_NR 8
This value specifies the number of bits per data point in the waveform data. To change this
value, use the WFMOutpre:BIT_Nr command. Note that changing this value automatically
changes the
BYT_NR value accordingly.
ENCDG BINARY
This value s
pecifies the encoding of the waveform data. To change this value (the other
possibility is ASCii), use the WFMOutpre:ENCdg command. (This value can also be set using
the DATa:ENCdg command, which provides the ability to set the
WFMOutpre:ENCdg,
WFMOutpre
:BN_Fmt,
: and WFMO utpre:BYT_Or values using a s ingle command.)
BN_FMT RI
This valu
especifies the binary format, which in this case is RI (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 si
gnificant byte first). To change this value to LSB, use the WFMOutpre:BYT_Or
command. Note: this field is not applicable for ASCii encoding.
WFID "Ch1, DC
coupling, 100.0mV/div,
4.000us/div, 10000
points, Sample mode"
This quoted string represents information about the source waveform that would be returned
by a.
WFMOutpre:WFId? query.
NR_PT 10000
This value indicates the number of data points in the waveform record to be transferred
using the CURVE? query. (If you would like to determine only this value, use the
WFMOutpre:NR_Pt? query.) N ote: this value is typically equal to the full record length,
but you also have the option to transfer only a portion of the record length by using the
DATa :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 YT format. This is query only – the returned values can be Y for Y T
format or ENV for envelope format (min/max pairs). (If you would like to determine only this
value, use the WFMOutpre:PT_Fmt? query.)
PT_ORDER LINEAR
This value is always LINear.
XUNIT “s”
This value indicates the units of the x-axis of the waveform record. This is determined by the
horizontal settings for the waveform source. Typically, this value is “s”, representing seconds.
When using the math waveform as a source, the value can be “s” or “Hz”. This is query only.
(If you would like to determine only this value, use the WFMOutpre:XUNit? query.)
XINCR 4.0000E-9
This value indicates the time, in seconds, or frequency, in hertz, between data points in the
waveform record. This is query only. (If you would like to determine only this value, use
the WFMOutpre:XINcr? query.)
XZER0 -20.0000E-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 i s relative to the time of the trigger, which is always
0. So, this XZEro 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 w ith performance oscilloscopes. The
returned value is always 0. (If you would like to determine only this value, use the
WFMOutpre:PT_Off? query.)
D-2 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual