Command Groups
Alias Command Group
Use the Alias commands to dene new commands as a sequence of standard
commands. You may nd 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. The alias mechanism obeys the following rules:
The alias name must 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 redened without rst being deleted using one of
the alias deletion functions.
Alias names do not appear in response messages.
Table 2-14: Alias Commands
Command Description
ALIasSets or returns the alias state
ALIas:CATalog? Returnsa list of the currently dened alias
labels
ALIas:DEFine Assignsa sequenceof program messages
to an alias label
ALIas:DELEte Removes a specied alias
ALIas:DELEte:ALL Deletes all existing aliases
ALIas:DELEte[:NAMe] Removes a specied alias
ALIas[:STATE] Setsor returns the alias state
2-12 MSO4000 and DPO4000 Series Programmer Manual