CLOSe? [ROUTe:]CLOSe? <channel_list> returns the current state of the channel(s) queried. The channel_list is in the form (@ccnn) (see [ROUTe:]CLOSe for definition). The command returns 1 for channel(s) closed or returns 0 for channel(s) opened.

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 100 and 213

CLOS?

(@100,213)

! Query channels 100 and 213 state

OPEN [ROUTe:]OPEN <channel_list> opens the RF multiplexer channels specified by channel_list. The channel_list has the form (@ccnn) where cc = card number (00-99) and nn = channel number (00-03 and 10-13).

Parameters

 

Parameter Name

Parameter Type

Range of Values

 

 

 

 

 

<channel_list>

numeric

cc00-cc03, cc10-cc13

 

 

 

 

Comments

Opening Channels: To open:

 

a single channel, use [ROUTe:]OPEN (@ccnn)

for multiple channels, use [ROUTe:]OPEN (@ccnn,ccnn)

sequential channels, use [ROUTe:]OPEN (@ccnn:ccnn)

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 card #1;

 

213 opens channel 13 of card #2

Chapter 5

HP E1366A/E1367A RF Multiplexers Command Reference 49

Page 49
Image 49
HP E1367A, E1366A manual Comments, ∙ Opening Channels To open, Example Opening Channels