![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597126.webp)
1256E User Manual
SCPI Command Basics 5-30
Racal Instruments
©
2002
A range of relays and a list of single relays may be mixed in a
command. For example, the command:
CLOSE (@3(1:10,12,15,17:19))
Closes channels 1 through 10, 12, 15, 17, 18, and 19 on the plug-
in with address 3.
Multiple relays on multiple plug-ins may also be specified. In
general, the syntax:
(@<address>(<channel list>),<address>(<channel
list>),...)
is used. For example:
CLOSE (@3(1:10, 17), 7(15),8(8:10))
This closes the following relays:
Slot 3:
channels 1 through 10 and 17
Slot 7
channel 15
Slot 8
channels 8 through 10
Naming Relay
Cards
Each plug-in module controlled by a 1256 may be given a name.
This name may be used in place of the slot number in any
command used to control a relay.
Defining Module
Names
The MODULE:DEFINE command (MOD:DEF) may be used to
define a name of a plug-in module. The syntax for this command is
MOD:DEF <module name> , <module address>
The <module 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
“_”.