MDO3000 Programmer Manual.pdf - 第44页

Command Groups t h ea l i a sn a m em ust consist of a valid IEEE488.2 message unit, which may not appear in a m essage preceded by a colon, comma, or a command or query program header . the alias name may not appear in …

100%1 / 1158
Command Groups
AFG Command Gr
oup
Use the AFG commands for Arbitrary Function Generator functionality.
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
The AFG functionality is available when either the time domain acquisitionor
RF acquisition is active.
Table 2-15: AFG Commands
Command Description
AFG:AMPLitude Sets (or queries) the AFG amplitude in volts, peak to peak.
AFG:FREQuency Sets (or queries) the AFG frequency.
AFG:FUNCtion Sets (or queries) which AFG function to execute.
AFG:HIGHLevel Sets (or queries) the AFG high level, in volts.
AFG:LEVELPreset Sets ( or queries) the AFG preset levels to values that correspond to the logic s tandard
specied by the argument The presets set the vertical controls for AMPLitude, OFFSet ,
HIGHLevel, and LOWLevel.
AFG:LOWLevel Sets (or queries) the AFG low level, in volts.
AFG:NOISEAdd:PERCent Sets (or queries) the A FG additive noise level as a percentage.
AFG:NOISEAdd:STATE Sets ( or queries) the AFG additive noise state.
AFG:OFFSet Sets (or queries) the AFG offset, in volts.
AFG:OUTPut:LOAd:IMPEDance Sets (or queries) the AFG output load impedance.
AFG:OUTPut:STATE Sets (or queries) the AFG output state.
AFG:PERIod Sets (or queries) the period of the AFG waveform, in seconds.
AFG:PHASe Sets (or queries) the AFG phase.
AFG:PULse:WIDth Sets (or queries) the AFG pulse width, in seconds.
AFG:RAMP:SYMmetry Sets (or queries) the A FG ramp symmetry as a percentage.
AFG:SQUare:DUty Sets (or queries) the AFG duty cycle, as a percentage.
Alias Command Group
Use the Alias commands to define new commands as a sequence of standard
commands. You may find this useful when repeatedly using the same commands
to perform certain tasks like setting up measurements.
Aliases are similar to macros but do not include the capability to substitute
parameters into alias bodies. To use Alias commands, first define the alias, then
turn on the alias state.
The alias mechanism obeys the following rules:
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-13
Command Groups
thealiasnamem
ust consist of a valid IEEE488.2 message unit, which may
not appear in a message preceded by a colon, comma, or a command or query
program header.
the alias name may not appear in a message followed by a colon, comma,
or question mark.
an alias name must be distinct from any keyword or keyword short form.
an alias name cannot be redefined without first being deleted using one of
the alias deletion functions.
alias names do not appear in response messages.
Table 2-16: Alias Commands
Command Description
ALIas:CATalog? Returns a list of the currentl
ydened alias labels
ALIas:DEFine
Assigns a sequence of program
messages to an alias label
ALIas:DELEte:ALL Deletes all existing aliases
ALIas:DELEte[:NAMe]
Removes a specied alias
ALIas[:STATE] This command species the alias state
ARB Command Group
Use the ARB commands for Arbitrary Waveform Generator functionality.
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Table 2-17: ARB Commands
Command Description
AFG:ARBitrary:ARB<x>:DATE? Returns the date that the data in the specied arbitrary waveform slot 1-4 was s aved.
AFG:ARBitrary:ARB<x>:LABel Sets (or queries) the waveform label for arbitrary waveform slots 1- 4.
AFG:ARBitrary:ARB<x>:TIMe? Returns the time that the data in the specied arbitrary waveform slot was saved.
AFG:ARBitrary:EMEM:FUNCtion? Returns the currently selected arbitrary waveform pre-dened function.
AFG:ARBitrary:EMEM:GENerate This command generates the arbitrary waveform function specied by the enumeration
argument, w ith the number of points optionally specied by the NR1 argument. To query the
arbitrary waveform function set by this command, use AFG:ARBitrary:EMEM:FUNCtion?
AFG:ARBitrary:EMEM:NUMPoints? Returns the number of points in the AFB arbitrary waveform edit memory.
AFG:ARBitrary:EMEM:POINTS Species which points to load into the AFG arbitrary waveform edit memory.
AFG.ARBitrary.EMEM.POINTS.BYTEORDerThis command species the byte order for the :AF G:AR Bitrary :EM E M :POINTS? query
when the :AFG :ARB itrary:EMEM:ENCDG is set to BINary and when binary block data is
sent for the :AFG:ARB itrary:EMEM:PO INTS command.
AFG:ARBitrary:EMEM:POINTS:ENCdg This command species the data encoding format for the AFG:ARBitrary:EMEM:POINTS
query (either AS CII or binary).
2-14 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Command Groups
Bus Command Gr
oup
Use the Bus commands when working with serial or parallel bus measurements.
Bus commands let you specify the bus number: (B1-B4), except for MDO3000,
which has onl
y two buses (B1-B2).
B1 B4 for MSO/DPO/MDO4000/B models
B1 B3 for MDO4000C models
B1 B2 for MDO3000 models
Parallel bus trigger and analysis functionality is included standard withtheMSO
and MDO Series. All other bus triggers require installation of an application
module.
A table is available that lists all commands enabled by each application module
(See page H-1, List of Beta Commands and Features.)
For I
2
C or SPI bus signals, install the DPO4EMBD application module,
except for MDO3000 models, which require MDO3EMBD.
For RS-232, RS-422, RS-485, or UART bus signals, install the DPO4COMP
module, except for MDO3000 models, which require MDO3COMP.
For I
2
S, Left Justified (LJ), Right Justified (RJ), or TDM bus signals, install
the DPO4AUDIO module, except for MDO3000 models, which require
MDO3AUDIO.
For CAN, CAN FD, or LIN bus signals, install the DPO4AUTO or
DPO4AUTOMAX module, except for MDO3000 models, which require
MDO
3AUTO.
For FlexRay bus signals, install the DPO4AUTOMAX module, except for
MD
O3000 models, which require MDO3FLEX.
For Ethernet signals, when tested with the MDO4000/B/C and
M
SO/DPO4000B, install the DPO4ENET module. Note that ≥350 MHz
bandwidth models are recommended for 100BASE-TX.
For MIL-STD-1553 or ARINC429 bus signals, install the DPO4AERO
module, except for MDO3000 models, which require MDO3AERO.
For USB bus signals, install the DPO4USB module, except for
MDO3000 models, which require MDO3USB. Note that 1 GHz bandwidth
models are recommended for high-speed (HS) USB.
NOTE. The Search Command Group and the Trigger Command Group also
contain bus-related commands.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-15