User manual

Relay Multiplexer Command Reference 79Chapter 3
[ROUTe:]OPEN?
[ROUTe:]OPEN? <channel_list> returns the current state of the channel(s)
queried. Channel_list has the form (@ssbc) or (@ss0hbc) (see
[ROUTe:]OPEN for definition). The command returns "1" if channel(s)
are open or returns "0" if channel(s) are closed.
Comments Query is Software Readback: The ROUTe:OPEN? 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 Open State
This example opens channel 0, bank 0, in card #1 and channel 7, bank
6, in card #2 of a two-module switchbox and queries the channel open
states. Since the channels are programmed to be opened "1,1" is
returned.
OPEN (@100,267)
!100 opens channel 0, bank 0, card #1 and
267 opens channel 7, bank 6, card #2
OPEN? (@100,267)
!Query state of channel 0, bank 0, card #1
and channel 7, bank 6, card #2
[ROUTe:]SCAN
[ROUTe:]SCAN <channel_list> defines the channels to be scanned.
Channel_list has the form (@ss0hbc) where ss = card number (00-99),
0h = one-wire mode only high/low switching (00 or 01), b = bank number
(0-7), and c = channel number (0-7).
Parameters
Name Type Range of Values Default
<channel_list> numeric ss[00]00 to ss0177
ss00 to ss77
ss00 to ss037
ss00 to ss037
1-wire
2-wire
3-wire
4-wire