MDO3000 Programmer Manual.pdf - 第304页

Commands Listed in A lphabetical Order :DA T a:SOUrce C H1 :DA T a:DEST ination REF1 :WFMInpre:BYT_NR 1 :WFMInpre:BIT_NR 8 :WFMInpre:ENCDG BINAR Y :WFMInpre:BN_FMT RI :WFMInpre:BYT_OR MSB :WFMInpre:PT_FMT Y :WFMOutpre:BY…

100%1 / 1158
Commands Listed in Alphabetical Order
NOTE. Curve dat
a is transferred from the oscilloscope asynchronously, depending
on the length of the curve record. Such transfers may require several seconds
to complete. During this period, the oscilloscope will not respond to the user
controls. You can interrupt these asynchronous data transfers by sending a device
clear message to the oscilloscope or by interrupting the query with another
command or query. In order to verify that curve data has been completely
transferre
d, it is recommended that you follow such queries with an *ESR?
query to verify there are no error bits set. You can also check the event queue to
determine the cause of the error, if any. If the error was caused by an interrupted
query, then the asynchronous data transfer was not complete when the *ESR?
query was sent. In such cases, it may be necessary to increase the program's
time-out value to ensure that all data is transferred and read.
DATa
These commands specify the format and location of waveform data that is
transferred using the CURVe command, or return the format and location of the
waveform data that is transferred with the CURVe? query. You can use the
INIT
argum
ent to reset all of the
DATa parameters to default values. (Note that the *RST
and FACtor y commands do not reset the DATa parameters.) You can use the
SNap argument to automatically set the DATa:STARt and DATa: STOP values to
the starting and stopping point of the waveform cursors (if on). 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 {I NIT|SNAp}
DATa?
Related Commands
CURVe,
DATa:STARt,
DATa:STOP,
DATa:ENCdg,
WFMInpre:NR_Pt,
WFMOutpre:NR_Pt?
Arguments
INIT initializes the waveform data parameters to their factory defaults except
for DATa:STOP, which is set to the current acquisition record length. The data
waveform preamble parameters are initialized to the following values:
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-273
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