User`s manual

SCPI Command
Format Used in
This Manual
You can send SCPI commands in either a short or long form. A long form
example is:
CLOSe (@102)
The same command shown without the lower case letters is the short form.
The command then becomes:
CLOS (@102)
Some commands in this manual are shown with brackets ([ ]). These are
implied or optional commands that you do not have to execute. For
example, the ROUT command is an implied command and is shown in this
manual as:
[ROUT:]CLOS (@102)
Thus, to execute these commands, simply enter:
CLOS (@102)
See Chapter 5 for more explanation about SCPI commands and how to send
them.
Initial Operation
Use the following program example to verify initial multiplexer operation
by closing a channel and querying channel closure. The example first resets
the switchbox and then closes channel 02 of a single multiplexer module
(card number 1) in the switchbox. The program next queries the channel
closure state. A returned "1" shows that the command to close the channel
has been sent to the switchbox. A returned "0" shows that the command to
close the channel has not been sent to the switchbox.
The computer used in the example is an HP Series 200/300 computer with
BASIC as the program language. The computer interfaces to the mainframe
using the General Purpose Interface Bus (GPIB)*. The GPIB interface
select code is 7, the GPIB primary address is 09, and the GPIB secondary
address is 14. Refer to the "Agilent 75000 Series B Installation and Getting
Started Guide" for addressing information.
Example: Reset the switchbox and close channel 02
10 OUTPUT 70914;"*RST" Opens all channels
20 OUTPUT 70914;"CLOS (@102)" Close channel 02
30 OUTPUT 70914;"CLOS? (@102)" Query channel 02 state
40 ENTER 70914;Value Enter results into Value
50 PRINT Value Display result
60 END
16 Getting Started with the Agilent E1346A Chapter 1
* GPIB is the implementation of IEEE Std 488.1-1984