To use direct control, Selecting a channel, To use direct control -9 – Agilent Technologies Multiple Channel Controller 85330A User Manual

Page 83: Selecting a channel -9

Advertising
background image

85330A Multiple Channel Controller

6-9

Programming

To Use Direct Control

To Use Direct Control

Direct control is where the host computer issues GPIB commands and the
85330A executes them immediately. For example, the

ROUTe:CLOSe

(port number) (switch address)

command causes the 85330A to immediately

change switch states.

Selecting a Channel

Here are examples of how to select a channel.

Example 1, for a standard system

OUTPUT 70918; “ROUT:CLOS 1,(@2);”

Switch port 1, default SCU address (0), channel 2 selected.

In this example, the BASIC

OUTPUT

command is used to output a command

to the 85330A. The command,

ROUT:CLOS 1,(@2);

is sent to GPIB address

70918 (the 85330A). This command string would:

Activate switch port 1.

Address the SCU (which is set at the factory to SCU address 0). Since
the default address is being used, the SCU address is not required, and is
not specified in the command.

Select channel 2.

Example 2, for a typical custom system

OUTPUT 70918; “ROUT:CLOS 2,(@110);”

Switch port 2, SCU address 1, channel 10

The command

ROUT:CLOS 2,(@110);

is sent to GPIB address 70918 (the

85330A). This command string would:

Activate switch port 2.

Address any SCU, or SCUs, at SCU address 1.

Select channel 10. “110” is the switch address and is defined as the
concatenation of the SCU address and the channel number.

Advertising