MDO3000 Programmer Manual.pdf - 第976页
Commands Listed in A lphabetical Order WFMInpre:BN_Fmt This command specifies the format of the data for outgoing waveforms when WFMInpre:ENCd g is set to BINary . The format can either be RI (signed integer), RP (positiv…

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

Commands Listed in Alphabetical Order
Syntax
WFMInpre:BYT_
Nr <NR1>
WFMInpre:BYT_Nr?
Related Commands
WFMInpre:BIT_Nr
Arguments
<NR1> is the number of bytes per data point. The number of bytes can be 1 or 2
for Analog, Math or the digital channels D0 – D15. It can be 4 or 8 for DIGital
collection data. It must be 4 for frequen
cy domain trace data.
Examples
WFMINPRE:BYT_NR 1 sets the number of bytes per incoming waveform data
point to 1, which is the default setting.
WFMINPRE:BYT_NR? might return :WFMINPRE:BYT_NR 2 indicating that there
are 2 bytes per incoming waveform data point.
WFMInpre:BYT_Or
This command specifies which byte of incoming binary waveform data is
transmitted first (the byte order). The byte order can either be MSB (most
significant byte first) or LSB (least significant
byte first, also known as IBM
format). This specification only has meaning when WFMInpre:ENCdg is set to
BINary and WFMInpre:BYT_Nr is 2.
(See page 2-95, Waveform Transfer Command Group.)
Group
Waveform Transfer
Syntax
WFMInpre:BYT_Or {LSB|MSB}
WFMInpre:BYT_Or?
Related Commands
WFMInpre:ENCdg,
WFMInpre:BYT_Nr,
WFMOutpre:BYT_Or
Arguments
LSB specifies that the least significantbytewillbeexpectedfirst.
MSB specifies that the most significant byte will be expected first.
Examples
WFMINPRE:BYT_OR MSB sets the most significant incoming byte of incoming
waveform data to be expected first.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-947