beautypg.com

Route]:close:card, Route]:close[:list – Agilent Technologies Agilent B2201A User Manual

Page 161

background image

Agilent B2200 User’s Guide, Edition 4

5-33

SCPI Command Reference

[:ROUTe]:CLOSe:CARD?

[:ROUTe]:CLOSe:CARD?

This query command returns channel_list of all closed (connected) channels for the
specified card.

Syntax

[:ROUTe]:CLOSe:CARD? card_number

Query response

channel_list <^END>

Example

OUTPUT @Agb2200;":ROUT:OPEN:CARD ALL"

OUTPUT @Agb2200;":ROUT:CLOS (@10101,10202)"

OUTPUT @Agb2200;":ROUT:CLOS:CARD? 1"

ENTER @Agb2200;A$

A$ will be @10101,10202. For channel_list, see “Switch Control” on page 4-5.

[:ROUTe]:CLOSe[:LIST]

This command connects the input ports to the output ports (channels) as specified in
channel_list. The query returns 0 or 1 for each channel specified by channel_list, in
same order as specified by channel_list.

For some modes (such as Single Route Mode, Couple Mode, Ground Mode, and
Bias Mode), more complex connections may occur.

Syntax

[:ROUTe]:CLOSe[:LIST] (@channel_list)

[:ROUTe]:CLOSe[:LIST]? (@channel_list)

Query response

close_status{, close_status} <^END>

1: closed
0: opened

Parameter Explanation

card_number

For Auto Config mode: 0
For Normal Config mode: 1, 2, 3, or 4

Parameter Explanation

channel_list

Channels to close or to check.
For channel_list, see “Switch Control” on page 4-5.