MDO3000 Programmer Manual.pdf - 第975页
Commands Listed in Alphabetical Order Syntax WFMInpre? Related Commands WFMOutpre? Examples WFMINPRE? might return the waveform formatting as :WF MINPRE:BIT_NR 8;BN_FMT RI;BYT_NR 1; BYT_OR MSB;ENCDG BIN;NR_PT 500;PT_FMT …

Commands Listed in Alphabetical Order
to sending both
WFMOutpre? and CURVe?, with the additional provision that the
response to
WAVFrm? is guaranteed to provide a synchronized preamble and
curve. The source waveform, as specified by
DATA:SOURCE, must be active or
the query will not return any data and will generate an error event.
(See page 2-95, Waveform Transfer Command Group.)
(See page D-1, Waveform Transfer (WFMOutpre and CURVe Query) Examples.)
Group
Waveform Transfer
Syntax
WAVFrm?
Related Commands
CURVe,
DATa:SOUrce,
WFMOutpre?
Examples
WAVFRM? might return the waveform data as: :WFMOUTPRE:BYT_NR
1;BIT_NR 8;ENCDG ASCII;BN_FMT RI;BYT_OR MSB;WFID
“Ch1, D C coupling, 100.0mV/div, 4.000us/div,
10000 p oints, Sample mode”;NR_P T 20;PT_FMT Y;XUNIT
“s”;XINCR 4.0000E-9;XZ ERO -20.0000E-6;PT_OFF 0; YUNIT
“V”;YMULT 4.0000E-3;YO FF 0.0000;YZERO 0.0000;:C URVe
2,1,4,2,4,3,0,3,3,3,3,3,3,4,3,5,6,6,7,3
For binary encodings, WAVFRM? might return the waveform data as:
:WFMOUTPRE:BYT_NR 1;BIT_NR 8;ENCDG BINARY;BN_FM T RI;BYT_OR
MSB;WFID “Ch1, DC coupling, 100.0mV/div, 4.000us/div, 10000
points, Sample mode”;NR_PT 10000;PT_FMT Y;XUNIT “s”;XINCR
4.0000E-9;XZERO -20.0000E-6;PT_OFF 0;YUNIT “V”; YMULT
4.0000E-3;YOFF 0.0000;YZERO 0.0000 ;:CURVe #510000<10,000
binary data bytes>
WFMInpre? (Query Only)
Returns the waveform formatting and scaling specifications to be applied tothe
next incoming
CURVe command data.
(See page 2-95, Waveform Transfer Command Group.)
Group
Waveform Transfer
2-944 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Syntax
WFMInpre?
Related Commands
WFMOutpre?
Examples
WFMINPRE? might return the waveform formatting as :WFMINPRE:BIT_NR
8;BN_FMT RI;BYT_NR 1; BYT_OR MSB;ENCDG BIN;NR_PT 500;PT_FMT
Y; PT_O FF 0;XINCR 2.0000E-6;XZE RO 1.7536E-6; XUNIT "s";YMULT
1.0000E-3;YOFF 0.0000; YZERO 0.0000;YUNIT "V"
WFMInpre:BIT_Nr
This command specifies the number of bits per data point in the waveform data to
be sent to the oscilloscope using the
CURVe command. Changing this value also
changes the value of WFMInpre:BYT_Nr.
(See page 2-95, Waveform Transfer Command Group.)
NOTE. The
WFMInpre:BYT_ Nr
and
WFMInpre:BIT _Nr
settings are directly
related; setting one causes the other to be set accordingly. For example,
WFMInpre:B YT_Nr 2
causes
WFMInpre_BI T_Nr
tobesetto16(2*8bits/byte).
Similarly, setting
WFMInpre:BIT _Nr
to 16 causes
WFMInpre:B YT_Nr
to be
set to 2.
Group
Waveform Transfer
Syntax
WFMInpre:BIT_Nr <NR1>
WFMInpre:BIT_Nr?
Related Commands
WFMInpre:BYT_Nr
Arguments
<NR1> number of bits per data point can be 8 , 16, 32 or 64.
Examples
WFMINPRE:BIT_NR 16 sets the number of bits per waveform point to 16, for
incoming data.
WFMINPRE:BIT_NR? might return :WFMINPRE:BIT_NR 8 indicating that
incoming waveform data uses 8 bits per waveform point.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-945

Commands Listed in Alphabetical Order
WFMInpre:BN_Fmt
This command specifies the format of the data for outgoing waveforms when
WFMInpre:ENCdg is set to BINary. The format can either be RI (signed integer),
RP (positive integer) or FP (floating point).
(See page 2-95, Waveform Transfer Command Group.)
Group
Waveform Transfer
Syntax
WFMInpre:BN_Fmt {RI|RP|FP}
WFMInpre:BN_Fmt?
Related Commands
WFMOutpre:BN_Fm
t
WFMInpre:ENCdg
Arguments
RI specifies signed integer data point representation.
RP specifies positive integer data point representation.
FP specifies floating point data representation.
Examples
WFMINPRE:B
N_FMT RP
specifies positive integer data point representation.
WFMINPRE:BN_FMT? might return :WFMINPRE:BN_FMT RI indicating that the
incoming d
ata is currently interpreted as signed integers.
WFMInpre:BYT_Nr
This command specifies the number of bytes per data point in the waveform data
to be sent to the oscilloscope using the
CURVe command. Changing this value also
changes the value of WFMInpre:BIT_Nr.
(See page 2-95, Waveform Transfer Command Group.)
NOTE. The
WFMInpre:BYT _Nr
and
WFMInpre:BI T_Nr
settings are directly
related; setting one causes the other to be set accordingly. For example,
WFMIn
pre:BYT_Nr 2
causes
WFMInpre_B IT_Nr
tobesetto16(2*8bits/byte).
Similarly, setting
WFMInpre:BIT _Nr
to 16 causes
WFMInpre:B YT_Nr
to be
set to 2.
Group
Waveform Transfer
2-946 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual