Open, Scan – HP E1368A User Manual
Page 61
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 multi-module switchbox.
Example
Query Channel Open State
This example opens channels 100 and 202 of a two-module switchbox (card
numbers 01 and 02) and queries channel state. Since the channels are
programmed to be open 1,1 is returned.
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 (00-99) and nn
= channel number (00-04).
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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com