MDO3000 Programmer Manual.pdf - 第307页
Commands Listed in Alphabetical Order T able 2-53: DA T a and WFMOutpre Parameter Settings (cont.) WFMOutpre Settings DA T a:ENCdg Setting :ENCdg :BN_Fmt :BYT_Or :BYT_NR RIBinary BIN RI MSB 1,2 RPBinary BIN RP MSB 1,2 SR…

Commands Listed in Alphabetical Order
you must use one
of the binary encodings. If ASCII is the value, then
BN_Fmt
and BYT_Or are ignored.
FAStest specifies the encoding which results in the fastest waveform
data transfer rate. This sets the following:
WFMOutpre:ENCdg BINary,
WFMOutpre:BIN_Fmt RI
and WFMOutpre :BYT_Or MSB.
RIBinary
specifies the signed integer data point format, with the most significant
byte transferred first.
When
DATa:WI
DTH
is set to 1, the range is from -128 through 127. When
DATa:WIDTH is 2, the range is from -32,768 through 32,768. Center screen
is 0 (zero). The upper limit is the top of the screen and the lower limit is
the bottom of the screen. The default encoding is RIBINARY. This sets the
following:
WFMOutpre:ENCdg BINary, WFMOutpre:B N_Fmt RI and
WFMOutpre:BYT_Or MSB.
RPBinary
specifies the positive integer data-point representation, with the most
significant byte transferred first.
When
BYT_Nr is 1, the range of data values is 0 through 255. When BYT_N r
is 2, the range of data values is 0 to 65,535. The center of the screen is 127
for 1-byte data and is 32768 for 2-byte data. The upper limit is the top of
the screen and the lower limit is the bottom of the screen. This sets the
following:
:WFMOutpre:ENCdg BINary,:WFMOutpre:BN_Fmt RP and
WFMOutpre:BYT_Or MSB.
SRIbinary
specifies the signed integer format. It is the same as RIBinary
except that the byte order is swapped, meaning that the least significant byte
is transferred first. This sets the following:
WFMOutpre:ENCdg BINary,
WFMOutpre:BIN_Fmt RI
and WFMOutpre:BYT _Or LSB.
SRPbinary
specifies the positive integer format. It is the same as RPBinar y
except that the byte order is swapped, meaning that the least significant byte
is transferred first. This sets the following:
WFMOutpre:ENCdg BINary,
WFMOutpre:BN_Fmt RP
and WFMOutp re:BYT_Or LSB.
FPbinary
specifies floating point binary. It automatically forces DATa:WIDTH to
4and
BYT_OR to MSB (most significant byte transmitted first). This argument
only applies to the frequency domain waveforms (MDO4000/B/C models only).
SFPbinary specifies floating point binary. It automatically forces DATa:WIDTH
to4a
nd
BYT_OR to LSB (least significant byte transmitted first). This argument
only applies to the frequency domain waveforms (MDO4000/B/C models only).
Table 2-
53: DATa and WFMOutpre Parameter Settings
WFMOutpre Settings
DATa:EN
Cdg
Setting :ENCdg :BN_Fmt :BYT_Or :BYT_NR
ASCii ASC N/A N/A
1,2,4,
8
FAStest
BIN RI
MSB
1,2
2-276 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Table 2-53: DATa and WFMOutpre Parameter Settings (cont.)
WFMOutpre Settings
DATa:ENCdg
Setting :ENCdg :BN_Fmt :BYT_Or :BYT_NR
RIBinary BIN RI
MSB
1,2
RPBinary BIN RP
MSB
1,2
SRIbinary
BIN RI
LSB
1,2
SRPbinary
BIN RP
LSB
1,2
FPbinary BIN FP
MSB
4
SFPbinary
BIN FP
LSB
4
Examples
DATA:
ENCDG?
might return :DATa:ENCDG SRPBINARY for the format of the
outgoing waveform data.
DATA:ENCDG RPBinary sets the data encoding format to be a positive integer
where the most significant byte is transferred first.
DATa:SOUrce
This command specifies the source waveform to be transferred from the
oscilloscope using the
CURVe? query. The valid waveform sources are CH1-CH4,
MATH, R EF1-REF4, D0-D15, DIGita l, RF_AMPlitude, RF_FREQuency,
RF_PHASe, RF_NORMal, RF_AVErage, RF_MAXHold, and RF_MINHold.
Setting DATa:SOUrc e automatically constrains the following to valid values for
thespecifiedsourcewaveform:
WFMOutpre:BYT_N
r, WFMOu tpre:BIT_Nr
and
WFMOutpre:BN_Fmt.
(See page 2-95, Waveform Transfer Command Group.)
Group
Wavef
orm Transfer
Syntax
DATa:SOUrce
{CH1|CH2|CH3|CH4|MATH|REF1|REF2|REF3|REF4|D0|D1|D2|D3
|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15|DIGital
|RF_AMPlitude|RF_FREQuency|RF_PHASe|RF_NORMal|RF_AVErage|
RF_MAXHold|RF_MINHold}
DATa:SOUrce?
Related Commands
CURVe
Arguments
CH1–CH4 specifies which analog channel waveform data will be transferred from
the oscilloscope to the controller, channels 1 through 4.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-277

Commands Listed in Alphabetical Order
MATH specifies t
hat the Math waveform data will be transferred from the
oscilloscope to the controller.
REF1–REF4 spe
cifies which Reference waveform data will be transferred from
the oscilloscope to the controller.
D0–D15 spec
ifies which digital channel waveform data will be transferred from
the oscilloscope to the controller. (MSO/MDO4000/B models only as well as
MDO3000 and MDO400C models with option MDO3MSO or MDO4MSO
installed.)
DIGital specifies that the Digital Collection waveform data will be transferred
from the oscilloscope to the controller. (MSO/MDO4000/B models only as well
as MDO3000 and MDO400C models with option MDO3MSO or MDO4MSO
installed.)
RF_AMPlitude|RF_FREQuency|RF_PHASe (MDO4000/B/C models only)
and
RF_NORMal|RF_AVErage| RF_MAXHold|RF_MINHold specify that the
RF data will be transferred from the oscilloscope to the controller (MDO models
only).
Examples
DATA:SOURCE? might return :DATA:SOURCE REF3 indicating that Reference
location 3 is the source for the waveform data that is transferred using a
CURVe?
query.
DATA:SOURCE CH1 specifies that the CH1 waveform will be transferred in the
next CURVe? query.
DATa:STARt
This command specifies the starting data point for incoming or outgoing
waveform transfer using the
CURVe command or query. (Use DATa:STOP to
specify the ending data point.) You can set the
DATa:STARt and DATa:STOP
values automatically to the starting and stopping points of the waveform cursors,
if on, using
DATa SNap. Note that setting DATa:STARt and DAT a:STOP
automatically sets WFMOutpre:NR_Pt.
(See page 2-95, Waveform Transfer Command Group.)
Group
Waveform Transfer
Syntax
DATa:STARt <NR1>
DATa:STARt?
Related Commands
CURVe,
2-278 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual