5
Chapter 5 Remote Interface Reference
Switch Commands
[ROUTe:]
CLOSe:STATe?
This query returns a comma-delineated list of the closed channel relays
for all relays on all installed plug-in modules. The returned values will
be in the form snn, where s is the slot number and nn is the channel
number. The returned values indicate the programmed state of the relay.
This query does not physically monitor a relay and cannot report a failed
relay.
[ROUTe:]
OPEN <channel_list>|ALL
OPEN? <channel_list>
This command opens all the switching channels specified in the
channel_list
.
The channel_list has the form @snn, where s is the slot
number and nn is the channel number. See the CLOSe command
description for a description of channel_list.
The OPEN? query returns a "1" for open channels and a "0" for a closed
channel. If you specify a list of channels, the query returns a comma
separated list of 0's and 1's, in the same order as the channel_list. The
returned values indicate the programmed state of the relay. This query
does not physically monitor a relay and cannot report a failed relay.
128