beautypg.com

Close, Open – Agilent Technologies 75000 SERIES B User Manual

Page 55

background image

CLOSe?

[ROUTe:] CLOSe? <channel_list>

returns the current state of the

channel(s) queried. channel_list has the form (@ccnn) (see
[ROUTe:]CLOSe for definition). The command returns 1 if channel(s) are
closed or returns 0 if channel(s) are open.

Comments

Query is Software Readback: The [ROUTe:]CLOSe? command
returns the current software state of the channel(s) 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 Closure:
This example closes channels 100 and 213 of a two-module switchbox and
queries channel closure. Since the channels are programmed to be closed 1,1
is returned as a string.

CLOS (@100,213)

Close channels l00 and 2l3

CLOS? (@100,213)

Query channels l00 and 2l3 state

OPEN

[ROUTe:]OPEN <channel_list>

opens the Form C Switch channels

specified by channel_list. 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

Opening Channels: To open a single channel, use [ROUTe:]OPEN
(@ccnn); for multiple channels use [ROUTe:]OPEN (@ccnn,ccnn,);
for sequential channels, use [ROUTe:]OPEN (@ccnn:ccnn); for
groups of sequential channels, use [ROUTe:]OPEN
(@ccnn:ccnn,ccnn:ccnn); or any combination. Opening order for
multiple channels with a single command is not guaranteed.

Related Commands: [ROUTe:]CLOSe, [ROUTe:]OPEN?

*RST Condition: All channels open.

Example

Opening Channels:
This example opens channels 100 and 213 of a two-module switchbox (card
numbers 01 and 02).

OPEN (@100,213)

Open channels 100 and 213. 100
opens channel 00 of #1 and 213
opens channel 13 of card #2.

Chapter 5

Agilent E1364A Form C Switch Command Reference 53