beautypg.com

Close, Open – HP E1368A User Manual

Page 60

background image

CLOSe?

[ROUTe:]CLOSe? <

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 closed or returns 0 if the channel is
open.

Comments

Query is Software Readback: The

[ROUTe:]CLOSe?

command

returns the current software state of the channel 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 202 of a two-module switchbox (card
numbers 01 and 02) and queries channel closure. Since the channels are
programmed to be closed 1,1 is returned.

CLOS (@100,202)

100 closes channel 00 of card #1;
202 closes channel 02 of card #2.

CLOS? (@202)

Query channel 02 of card #2.

OPEN

[ROUTe:]OPEN <

channel_list

>

opens the Microwave Switch channels

specified in the channel_list. 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

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)

;

a group 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 are open.

Example

Opening Microwave Switch Channels

This example opens channel 00 of a card number #1 and channel 02 of a
card number #2 in a two-module switchbox.

OPEN (@100,202)

100 opens channel 00 of card #1;
202 opens channel 02 of card #2

Chapter 4

HP E1368A/69A/70A Command Reference 59

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com