User`s manual

Relay Matrix Switch Command Reference 51Chapter 3
Closing Channels (E1469A Only):
For a single channel, use [ROUT:]CLOS (@ssrrcc)
For multiple channels, use [ROUT:]CLOS (@ssrrcc,ssrrcc,...)
For sequential channels, use [ROUT:]CLOS (@ssrrcc:ssrrcc)
for groups of sequential channels use [ROUT:]CLOS
(@ssrrcc:ssrrcc,ssrrcc:ssrrcc).
You can use any combination of these commands. However, closure
order for multiple channels with a single command is not guaranteed.
Related Commands: [ROUTe:]OPEN, [ROUTe:]CLOSe?
*RST Condition: All channels open.
Example Closing Relay Matrix Switch Module Channels
This example closes channels 10100 and 20013 of a two-module
switchbox (card numbers 01 and 02).
CLOS (@10100,20013)
!Close channels 10100 and
!20013. 10100 closes row 01,
!column 00 of card #1 and 20013
!closes row 00, column 13 on
!card #2.
[ROUTe:]CLOSe?
[ROUTe:]CLOSe? <channel_list> returns the current state of the
channel(s) queried. channel_list has the form (@ssrc) or (@ssrrcc) (see
[ROUTe:]CLOSe for definition). The command returns 1 if channel(s) are
closed or returns 0 if channel(s) are open.
Comments Query is Software Readback: The [ROUTe:]CLOSe? command returns
the current software state of the channel(s) specified. It does not account
for relay hardware failures. A maximum of 127 channels at a time can be
queried for a multi-module switchbox.
Example Query Channel Closures
This example closes channels 10100 and 20013 of a two-module
switchbox and queries channel closure. Since the channels are
programmed to be closed, 1, 1 is returned as a string.
CLOS (@10100,20013)
!Close channels 10100 and
!20013. 10100 closes row 01,
!column 00 of card #1 and 20013
!closes row 00, column 13 on
!card #2.
CLOS? (@10100,20013)
!Query channel closures