OPEN? [ROUTe:]OPEN? <channel_list> returns the current state of the channel(s) queried. The channel_list is in the form (@ccnn). The command returns 1 if the channel is open or returns 0 if the channel is 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
Example Query Channel Open State
This example opens channels 100 and 202 of a
OPEN | (@100,202) | 100 opens channel 00 of card #1; |
|
| 202 opens channel 02 of card #2. |
OPEN? | (@202) | Query channel 02 of card #2. |
SCAN [ROUTe:]SCAN <channel_list> defines the channels to be scanned. The channel_list is in the form (@ccnn) where cc = card number
Parameters
Parameter Name | Parameter Type | Range of Values | Default Value |
|
|
|
|
channel_list | numeric | cc00 - cc04 | N/A |
|
|
|
|
|
|
|
|
Comments ∙ Defining the Scan List: When executing [ROUTe:]SCAN, the channel list is checked for valid card and channel numbers. An error is generated for an invalid channel list.
∙Scanning Channels: To scan:
–a single channel, use [ROUTe:]SCAN (@ccnn);
–for multiple channels, use [ROUTe:]SCAN (@ccnn,ccnn,… );
–sequential channels, use [ROUTe:]SCAN (@ccnn:ccnn);
–a group of sequential channels, use
[ROUTe:]SCAN (@ccnn:ccnn,ccnn:ccnn);
–or any combination.
∙Scanning Operation: With a valid channel list, INITiate[:IMMediate] starts the scanning cycle and closes the first channel in the channel list. Successive triggers from the source specified by TRIGger:SOURce advances the scan through the channel list.
∙Stopping Scan: See the ABORt command.
∙Related Commands: TRIGger, TRIGger:SOURce
∙*RST Condition: All channels open.
Example Scanning Using External Device
See the section in Chapter 3 titled “Scanning Channels” for examples of scanning programs using external instruments.
60 HP E1368A/69A/70A Command Reference | Chapter 4 |