Command groups
Alias command group
Alias commands allow you to define new commands as a sequence of standard
commands. You might 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. The alias mechanism obeys the following rules:
The alias name must consist of a valid IEEE 488.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 program date, 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 .
TheAliascommandsaredefined in Tektronix Standard Codes and Formats.
Deviations between that standard and what is specified here will be considered
errors unless specifically noted in the command description in this document.
Table 2-19: Alias commands
Command Description
ALIas
Sets or queries the alias state.
ALIas:CATalog? Returns a list of the currently defined alias labels.
ALIas:DEFine
Assigns a s equence of program messages to an alias label.
ALIas:DELEte
Removes a specified alias.
ALIas:DELEte:ALL Deletes all existing aliases.
ALIas:DELEte:NAMe
Removes a specified alias.
ALIas:STATE Sets or queries the alias state.
MSO54, MSO56, MSO58, MSO58LP Programmer 2-13