HP E1343A User Manual page 34

Relay multiplexer
Table of Contents

Advertisement

Comments
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Opening Channels. Use the
channels. For example, to open channels 02 and 09, execute:
OPEN (@102,109)
Closing/Opening Multiple Channels. To close or open multiple channels,
place a comma (,) between the channel numbers. To close or open a range
of channels, place a colon (:) between the channel numbers. You can do this
for both single or multiple module switchboxes. For example, to close:
-- channels 02 and 04 of a card #1 module, and
-- channels 07 through 10 of a card #1 module, and
-- channels 09 and 15 of a card #2 module
execute this command:
CLOS (@102,104,107:110,209,215)
Closing/Opening Order for Multiple Channels. Closing/opening order
for multiple channels with a single command is not guaranteed.
Query Open/Closed Channels. The
OPEN? <
channel_list
list is open or closed, respectively. (The query command does not determine
if, in the event of a hardware failure, the channel remains open/closed.) For
example, to determine if the channels in the above example are closed,
execute:
CLOS? (@102,104,107:110,209,215)
and enter the response into a string variable. The returned response should
look like: "1,1,1,1,1,1,1,1".
A response of 1 indicates that the channel is closed; a response of 0 indicates
that the channel is open. The reverse is true for the
channel_list
OPEN? <
and
OPEN?
CLOS?
CLOS? 1 = Closed
0 = Open
OPEN? 1 = Open
0 = Closed
Note
You must read the query response after sending a query command or the
switchbox will generate an error.
OPEN <
channel_list
CLOS? <
>
commands determine if the channel in the channel
command. The correct responses for both the
>
commands are:
Using the Relay Multiplexer Modules
>
command to open
channel_list
>
and
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1344aE1345aE1347a

Table of Contents