Command Descriptions
2–48
TLS 216 Programmer Manual
ALIas:CATalog?
?
ALIas :
CATalog
<QString>[,<QString>...]
ALIAS:CATALOG?
might return the string "SETUP1","TESTMENU1","DEFAULT", showing there
are 3 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 ALIas:STATE has been turned ON. The ALIas:DEFINE? query returns
the definition of a selected alias.
Up to 10 aliases can be defined at one time. Aliases can be recursive. That is,
aliases can include other aliases with up to 10 levels of recursion.
Alias
ALIas:DEFINE <QString><Comma>{ <QString> | <Block> }
ALIas:DEFINE? <QString>
ALIas
:
DEFINE
<Comma><QString><Space>
<QString>
<Block>
<QString>
<Space>
?
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 ≤12 characters.
The second <QString> or <Block> is a complete sequence of program messages.
The messages can contain only valid commands separated by semicolons and
must follow all rules for concatenating commands (see page 2–4). The sequence
must be ≤80 characters.
Syntax
Returns
Examples
Group
Syntax
Arguments