MDO3000 Programmer Manual.pdf - 第305页
Commands Listed in Alphabetical Order Related Commands CUR V e Arguments REF<x> is the reference location w here the waveform will be stored. Examples DATA:DESTINAT ION? might return :DATA:DESTIN ATION REF 3 indica…

Commands Listed in Alphabetical Order
:DATa:SOUrce C
H1
:DATa:DESTination REF1
:WFMInpre:BYT_NR 1
:WFMInpre:BIT_NR 8
:WFMInpre:ENCDG BINARY
:WFMInpre:BN_FMT RI
:WFMInpre:BYT_OR MSB
:WFMInpre:PT_FMT Y
:WFMOutpre:BYT_NR 1
:WFMOutpre:BIT_NR 8
:WFMOutpre:ENCDG BINARY
:WFMOutpre:BN_FMT RI
:WFMOutpre:BYT_OR MSB
:WFMOutpre:NR_PT <current acquisition record length>
:WFMOutpre:PT_FMT Y
SNAp sets DATa:STARt and DATa:STOP to match the current waveform cursor
positions.
Examples
DATA? might return :DATA:DESTINATION REF1:ENCDG RIBINARY;SOURCE
CH1;START 1;STOP 500;WIDTH 1
DATA INIT initializes the waveform data parameters to their factory defaults.
DATa:DESTination
This command specifies the reference memory location (REF1–4) for storing
waveform data transferred into the oscilloscope using the CURVe command.
(See page 2-95, Waveform Transfer Command Group.)
Group
Waveform Transfer
Syntax
DATa:DESTination RE
F<x>
DATa:DESTination?
2-274 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Related Commands
CURVe
Arguments
REF<x> is the reference location where the waveform will be stored.
Examples
DATA:DESTINATION? might return :DATA:DESTINATION REF 3 indicating that
reference 3 is the currently selected reference memory location for incoming
waveform data.
DATA:DESTINATION REF1 indicates that incoming waveform
data be stored in reference 1.
DATa:ENCdg
This command specifies the encoding format for outgoing waveform data. This
command is equivalent to setting WFMOutpre:ENCdg, WFMOutpre:BN_Fmt,
and WFMOutpre:BYT_Or. Setting the
DATa:ENGdg value causes the
corresponding
WFMOutpre values to be updated.
NOTE. This command and query does not apply to incoming waveform data.
(See page 2-95, Waveform Transfer Command Group.)
(See page D-1, Wa veform Transfer (WFMOutpre and CURVe Query) Examples.)
Group
Waveform Transfer
Syntax
DATa:ENCdg
{ASCIi|FAStest|RIBinary|RPBinary|SRIbinary|SRPbinary|FPbinar y|
SFPbinary}
DATa:ENCdg?
Related Commands
WFMOutpre:ENCdg,
WFMOutpre:BN_Fmt,
WFMOutpre:BYT_Or
Arguments
ASCIi specifies to use ASCII encoding for the waveform data queried using the
CURVe? query. Data values are returned as signed decimal integers for analog
channel and RF time domain data, 4-byte floating point values for RF frequency
domain data, or hexadecimal values for Digital Collection data with 4 or 8 bytes
per point. The maximum number of ASCII data points that can be queried using
the
CURVe? query is 1 million points. If more than 1 million points are desired,
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-275

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