MDO3000 Programmer Manual.pdf - 第174页

Commands Listed in A lphabetical Order ALIas:DELEte [:NAMe] (No Query Form) R e m o v e sas p e c i fi e da l i a s . Group Alias Syntax ALIas:DELEte[ :NAMe] <QStr ing> Arguments <QString> is the name of the a…

100%1 / 1158
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 rst 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
Commands Listed in Alphabetical Order
ALIas:DELEte
[:NAMe] (No Query Form)
Removesaspeciedalias.
Group
Alias
Syntax
ALIas:DELEte[:NAMe] <QString>
Arguments
<QString> is the name of the alias to remove. Using ALIas:DELEte[:NAM e]
without specifying an alias causes an execution error. <QString> must be an
existing alias.
Examples
ALIAS:DELETE[:NAME] “STARTUP” deletes the alias named STARTUP.
ALIas[:STATE]
Turns aliases on or off. (See page 2-13, Alias Command Group.)
Group
Alias
Syntax
ALIas[:STATE] {<NR1>|O FF|ON}
ALIas[:STATE]?
Arguments
OFF or <NR1> = 0 turns alias expansion off. If a defined alias is sent when
ALIas:STATE is OFF, a command error (102) is generated.
ON or <NR1>0 turns alias expansion on. When a defined alias is received, the
specified command sequence is substituted for the alias and executed.
Examples
ALIAS[:STATE] OFF turns the command alias feature off.
ALIAS[:STATE]? returns 0 when the alias feature is off.
ALLEv? (Query Only)
Prompts the oscilloscope to return all events and their messages (delimited by
commas), and removes the
returned events from the Event Queue. Use the *ESR?
query to enable the events to be returned. This command is similar to repeatedly
sending *EVMsg? queries to the oscilloscope.
2-144 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Group
Status and Erro
r
Syntax
ALLEv?
Related Commands
*ESR?, EVMsg?
Examples
ALLEV? might return :ALLEV 2225,"Measurem ent error, No waveform
to meas ure; "420,"Query UNTERMI NATED;"
APPLication:LICENSE:SLOT<x>:LOCation? (Query Only)
This query returns the license location. < x> can be slot number 1-4 (1-2 for
MDO3000 models).
NOTE. In order to use many of the advanced oscilloscope features, you must
purchase an application module that contains a license. A license turns on a
feature that is already present in the rmware. The module can be inserted
into any of the four application module slots in the oscilloscope (two for the
MDO3000 series). While only four of the more than twelve physical application
modules available c an be supported at one time (or two for the MDO3000 s eries),
more than this number of applications can be used simultaneously: a license can
be transferred from the physical application module to an internal location within
the oscilloscope. Once a license has been transferred to an internal location, the
application that it enables can be used without the physical application module
being present; the physical application module can be removed, thus freeing up
a slot. However, the license then needs to be transferred back to the physical
application module in order to use the license with another instrument.
Group
Miscellaneous
Syntax
APPLication:LICENSE:SLOT<x>:LOCation?
Related Commands
APPLication:LICENSE:SLOT<x>:TRANSFER,
APPLication:LICENSE:SLOT<x>:TYPe?
Returns
SCOPE - The license has been transferred to the oscilloscope and is active
internally.
MODULE - The license is in the application module and has not been transferred
to the scope.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-145