1257 User Manual
EADS North America Defense
SCPI Command Basics 5-27
Test and Services, Inc.
©
2001
Specifying
Channels in
Commands
To select a single channel in a command, both the fixed address of
the drawer (always "1" in a 1257) which contains the channel, and
the channel number must be specified. The syntax to describe a
single channel is:
(@<address> ( <channel> ) )
where
<address>
This is a number that will always
have a value of "1" in a 1257.
<channel>
This is a number which identifies
a channel to operate. The range
of valid values for <channel>
depends on the particular drawer
being controlled.
So, to close channel 17 in the drawer, use the command:
CLOSE (@1(17))
Multiple channels for a drawer may be specified using the syntax:
(@<address>(<channel>,<channel>...))
So the command:
CLOSE (@1(1,5,9,11))
may be used to close channels 1, 5, 9, and 11 in the drawer.
A range of channels for a drawer may be specified by using the
syntax:
(@<address>(<channel1>:<channel2>))
This format indicates that all channels between <channel1> and
<channel2> are to be operated. The command:
CLOSE (@1(1:10))
closes channels 1 through 10, inclusive, in the drawer.
A range of channels and a list of single channels may be mixed in
a command. For example, the command:
CLOSE (@1(1:10,12,15,17:19))
Closes channels 1 through 10, 12, 15, 17, 18, and 19 on the
drawer.
Summary of Contents for 1257
Page 6: ......