1257 User Manual
SCPI Command Basics 5-28
EADS North America Defense
Test and Services, Inc.
©
2001
Naming The
Drawer
A drawer controlled by a 1257 may be given a name. This name
may be used in place of the address "1" in any command used to
control a relay.
Defining Drawer
Names
The MODULE:DEFINE command (MOD:DEF) may be used to
define a name of a drawer. The syntax for this command is
MOD:DEF <drawer name> , <drawer address>
The <drawer name> is a string of up to 44 characters. It must
begin with a letter between “A” and “Z”. After the first letter, all
other letters may be “A” - “Z”, “0" through “9", and the underscore
“_”.
NOTE:
The drawer name may be 44 characters. However, to maintain
true SCPI compatibility, it must not exceed 12 characters.
Examples of valid commands are as follows.
Assigns name "A" to the drawer:
MOD:DEF
A,1
Assigns name to "A12345678901" to the drawer:
MOD:DEF
A12345678901,
1
Examples of invalid commands are as follows.
Incorrect; the drawer name must appear first:
MOD:DEF
1,ABCD
Incorrect; the drawer name must begin with a letter:
MOD:DEF
4ASDF,1
Incorrect (for SCPI compatibility only); the drawer name is 13
characters long and it must be
≤
12:
MOD:DEF A123456789012,1
The following examples show how to use drawer names in place of
the drawer address.