OPEN? [ROUTe:]OPEN? <channel_list> returns the current state of the channel(s)
queried. channel_list has the form (@ccnn) (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 channels 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 Open State:
This example opens channels 100 and 213 of a two-module switchbox and
queries channel 213 state. Since channel 213 is programmed to be open, 1 is
returned.
OPEN (@100,213) Open channels 100 end 213
OPEN? (@213) Query channel 213 state
SCAN [ROUTe:]SCAN <channel_list> defines the channels to be scanned.
channel_list has the form (@ccnn) where cc = card number (01-99) and nn
= channel number (00-15).
Parameters
Parameter Name Parameter Type Range of Values
<channel_list> numeric cc00 - cc15
Comments
• Defining Scan List: When [ROUTe:]SCAN is executed, the channel
list is checked for valid card and channel numbers. An error is
generated for an invalid channel list.
• Scanning Channels: You can scan single channels (@ccnn);
multiple channels (@ccnn,ccnn,...); sequential channels
(@ccnn:ccnn); groups of sequential channels
(@ccnn:ccnn,ccnn:ccnn); or any combination.
• Scanning Operation: When a valid channel list is defined,
INITiate[:IMMediate] begins the scan and closes the first channel in
the channel list. Successive triggers from the source specified by
TRIGger:SOURce advance the scan through the channel list.
• Stopping Scan: See ABORt.
• Related Commands: TRIGger, TRIGger:SOURce
• *RST Condition: All channels open.
Example Scanning Using External Device:
See Chapter 4, "Example: Scanning With External Devices" or "Example:
Scanning Using Trig Out and Event In Ports" for example scanning
programs using external instruments.
54 Agilent E1364A Form C Switch Command Reference Chapter 5