User manual
74 Relay Multiplexer Command Reference Chapter 3
Related Commands: [ROUTe:]OPEN, CLOSe?, SCAN
*RST Condition: All multiplexer channels are open.
Example Closing Multiplexer Channels
This example closes channel 0, bank 0, in card 01, and channel 7, bank
6, in card 02 of a two-module switchbox. Both modules are in two-wire
mode.
CLOS (@100,267)
!100 closes channel 0, bank 0 of card #1
and 267 closes channel 7, bank 6 of
card #2
[ROUTe:]CLOSe?
[ROUTe:]CLOSe? <channel_list> returns the current state of the
channel(s) queried. Channel_list has the form (@ssbc) or (@ss0hbc)
(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 128 channels at a time can be
queried for a multiple-module switchbox.
Three/Four-Wire Modes (WIRE3/WIRE4): When configured for three- or
four-wire modes, the upper bank pair (4-7) channels cannot be queried.
If an attempt is made to query the upper bank pair (4-7) channels, an
error will be generated.
Example Query Channel Closure
This example closes channel 0, bank 0, in card 01, and channel 7, bank
6, in card 02 of a two-module switchbox and queries channel closure.
Since the channels are programmed to be closed "1,1" is returned.
CLOS (@100,267)
!100 closes channel 0, bank 0, card #1 and
267 closes channel 7, bank 6, card #2
CLOS? (@100,267)
!Query state of channel 0, bank 0, card #1
and channel 7, bank 6, card #2