MDO3000 Programmer Manual.pdf - 第172页
Commands Listed in A lphabetical Order Examples AFG:RAMP:SYMM ETRY 50.0 sets the AFG ramp symmetry to 50 percent. AFG:SQUare:DUty Sets (or queries) the AFG duty cycle, as a percentage. The minimum is 10.0%, maximum is 90…

Commands Listed in Alphabetical Order
Arguments
Floating point
number that represents the AFG phase, in degrees.
Examples
AFG:PHASE -145.0 sets the phase of the AFG to -145.0 degrees.
AFG:PULse:WIDth
Sets (or queries) the AFG pulse width, in seconds.
Pulse width has an absolute minimum of 10ns and has a relative range of 10% -
90% of the current period setting. Resolution is 0.1ns.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
AFG
Syntax
AFG:PULse:WIDth <NR3>
AFG:PULse:WIDth?
Arguments
Floating point number that represents the pulse width, in seconds.
Examples
AFG:PULSE:WIDTH 100.0E-6 sets the AFG pulse width to 100 microseconds.
AFG:RAMP:SYMmetry
Sets (or queries) the AFG ramp symmetry as a percentage. Minimum is 0.0%,
maximum is 100.0% and increment is 0.10%.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
AFG
Syntax
AFG:RAMP:SYMmetry <NR3>
AFG:RAMP:SYMmetry?
Arguments
Floating point number that represents the AFG ramp symmetry, as a percentage.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-141

Commands Listed in Alphabetical Order
Examples
AFG:RAMP:SYMM
ETRY 50.0
sets the AFG ramp symmetry to 50 percent.
AFG:SQUare:DUty
Sets (or queries) the AFG duty cycle, as a percentage. The minimum is 10.0%,
maximum is 90
.0% and increment is 0.10%.
Conditions
MDO3000 series with option MDO3AFG installed and MDO4000C series with
option MDO4AFG installed only.
Group
AFG
Syntax
AFG:SQUare:DUty <NR3>
AFG:SQUare:DUty?
Arguments
Floating point number that represents the AFG duty cycle, as a percentage.
Examples
AFG:SQUARE:DUTY 50.0 sets the AFG duty cycle to 50 percent.
ALIas:CATalog? (Query Only)
Returns a list of the currently defined alias labels, separated by commas. Ifno
aliases are defined, the query returns the string "".
Group
Alias
Syntax
ALIas:CATalog?
Examples
ALIAS:CATALOG? might return the string :ALIAS:CATALOG
"SETUP1","TESTMENU1","DEFAULT"
showing that there are three aliases
named SETUP1, TESTMENU1, and DEFAULT.
ALIas:DEFine
Assigns a sequence of program messages to an alias label. These messages are
then substituted for the alias whenever it is received as a command or query,
provided that ALIas:STATE has been turned on. The query form of this command
returns the definitions of a selected alias.
2-142 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
NOTE. Attempti
ng to give two aliases the same name causes an error. To give a
new alias the name of an existing alias, the existing alias must first be deleted.
Group
Alias
Syntax
ALIas:DEFine <QString>< ,>{<QString>|<Block>}
ALIas:DEFine? <QString>
Related Commands
ALIas[:STATE]
Arguments
The first <QString> is the alias label.
This label cannot be a command name. Labels must start with a letter and can
contain only letters, numbers, and underscores; other characters are not allowed.
The label must be less than or equal to 12 characters.
The second
<QString> or <Block> is a complete sequence of program messages.
The messages can contain only valid commands that must be separated by
semicolons and must follow all rules for concatenating commands. The sequence
must be less than or equal to 256 characters.
Examples
ALIAS:DEFINE "ST1",":RECALL:SETUP 5;:AUTOSET
EXECUTE;:SELECT:CH1 ON"
defines an alias named "ST1" that sets
up the oscilloscope.
ALIAS:DEFINE? "ST1" returns :ALIAS:DEFINE "ST1",#246
:RECALL:SETUP 5;:AUTOSE T EXECUTE;:SELECT:CH1 ON
ALIas:DELEte:ALL (No Query Form)
Deletes all existing aliases.
Group
Alias
Syntax
ALIas:DELEte:ALL
Related Commands
ALIas:DELEte[:NAMe]
Examples
ALIAS:DELETE:ALL deletes all existing aliases.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-143