Returned Data
Comments
Error Conditions
Example
[ROUTe]:OPEN <channel list>
Parameters
36 SCPI Command Reference
HP E2272 Dual 8-to-1 Relay Multiplexer
Name
Type
<channel list> channel list 00-15
Type
Range
string
0,1
•
Channel elements have the form ccnn, where cc = card number (01) and nn =
channel number (00 - 15). Since the SCPI driver does not support multiple
cards you can omit the card number and specify only the channel number. To
be consistent with other HP Switch modules it is permissible to specify a card
number of 1.
•
To query a single channel, use [ROUTe]:CLOSe? (@ nn); for multiple
channels use [ROUTe]:CLOSe? (@ nn, nn, ...); for sequential channel, use
[ROUTe]:CLOSe? (@ nn:nn); for groups of sequential channels, use
[ROUTe]:CLOSe? (@ nn:nn, nn:nn); or any combination.
•
The instrument driver returns a 1 or 0 for each channel in the list, in the same
order that the list was specified. A response of 1 means the channel is closed
and a 0 means the channel is open. Note: The response of the
[ROUTe]:CLOSe? query is the opposite of [ROUTe]:OPEN? query.
Refer to the [ROUTe]:CLOSe command for a list of common error conditions
related to channel lists. Error numbers and corresponding error messages can be
found using SYSTem:ERRor? query.
CLOS? (@00,03)
The [ROUTe]:OPEN command opens the channels specified in the channel list.
HP E2270 16-Channel Form A Switch
Name
Type
<channel list> channel list 00-15
Range Default Description
none
List of channels to query
Default
Description
none
A string containing a comma separated
array of 0's and 1's that corresponds to
the list of channels specified in the
<channel list> input parameter. A "0"
indicates the channel is open. A "1"
indicates the channel is closed.
Query channels 0 & 3.
Range Default Description
none
List of channels to open
Chapter 3