MDO3000 Programmer Manual.pdf - 第42页

Command Groups Act on Event Co mmand Group Use the Act on Event commands to Act once a certain type of Event has happened. A vailable actions: - Stop acquisitions - Save waveform data to a file - Save a screen image to a …

100%1 / 1158
Command Groups
This manual lists the MDO4000C, MDO4000B, MDO4000, MSO4000B,
DPO4000B and MDO3000 Series IEEE488.2 commands in two ways. First,
it presents t
hem by functional groups. Then, it lists them alphabetically. The
functional group list starts below. The alphabetical list provides detail on each
command.
Acquisition C ommand Group
Use the commands in the Acquisition Command Group to set up the modes and
functions that control how the oscilloscope acquires signals input to the channels,
and processes them into waveforms.
Using the commands in this group, you can do the following:
Start and stop acquisitions.
Control whether each waveform is simply acquired, averaged, or enveloped
over successive acquisitions of that waveform.
Set the controls or conditions that start and stop acquisitions.
Contr
ol acquisition of channel waveforms.
Set acquisition parameters.
Tabl
e 2-13: Acquisition Commands
Command Description
ACQuire?
Ret
urns acquisition parameters
ACQuire:FA STAcq Sets or queries the fast acquisition feature.
ACQuire:FA STAcq:PALEtte Sets (or queries) which palette to use for fast acquisition mode.
ACQuire:FA STAcq:STATE Turns fast acquisition mode on or off, or queries the state of the mode.
ACQuire:MAGnivu This command species the MagniVu feature
ACQuire:MAXSamplerate?
Returns the maximum real-time sample rate
ACQuire:MODe Species the a cquisition mode of the oscill oscope for all analog channel waveforms.
ACQuire:NUMACq? Returns number of acquisitions that have occurred
ACQuire:NUMAVg This command species the number of acquisitions for an averaged waveform
ACQuire:NUMEnv This command controls the number of envelopes (when acquisition mode is set to ENVelope
using ACQ u ire:MODe).
ACQuire:STATE Starts or stops the acquisition system
ACQuire:STOPAfter This command species whether the acquisition is continuous or single sequence
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-11
Command Groups
Act on Event Co
mmand Group
Use the Act on Event commands to Act once a certain type of Event has happened.
Available actions:
- Stop acquisitions
- Save waveform data to a file
- Save a screen image to a file
- Send a screen image to a printer
-SendapulsetotheAuxOutport
- Generate a service request
-Sendanemail
- Display a visual notification
Available events:
- Upon trigger
-When a certain number of acquisitions have completed
-None
Table 2-14: Act o n Event
Command Description
ACTONEVent:ACTION:AUXOUT:
STA
TE
Sends a pulse to the AUX OUT port when a specied event occurs, or queries the state
of t
he “pulse to aux out” action.
ACT
ONEVent:ACTION:EMAIL:
STATE
Sen
ds an email when a specied event occurs, or queries the state of the “send email” action.
ACTONEVent:ACTION:PRINT:
STATE
Sends a screen image to a printer when a specied event occurs, or queries the state of
the “send screen image” action.
ACTONEVent:ACTION:
S
AVEIMAGE:STATE
Saves a screen image to le when a specied event occurs, or queries the state of the
save screen image to a le” action.
A
CTONEVent:ACTION:SAV EWFM:
STATE
S
aves the currently selected waveform data to a le when a specied event occurs, or
queries the state of the “save waveform to le” action.
ACTONEVent:ACTION:SRQ:STATE Sets or returns the enabled state of the generate service request (SRQ) action when a
specied event occurs. The default state is 0.
ACTONEVent:ACTION:STOPACQ:
STATE
Stops acquisitions when a s peci ed event occurs, or queries the state of the “stop
acquisition” action.
ACTONEVent:ACTION:VISUAL:
STATE
Sends a visual notication when a specied event occurs, or queries the state of the “send a
visual notication” action.
ACTONEVent:EVENTTYPe Species (or queries) which event to act on (TRIGger, ACQCOMPLete, or NONe) when
using an Act on Event command.
ACTONEVent:NUMACQs Sets (or queries) the number of acquisitions to complete for the event type ACQCOMPLete.
ACTONEVent:REP EATCount Sets or returns the number of events to run.
2-12 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
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