Scpi Command Format Used In This Manual; Initial Operation - HP E1346A User Manual

Relay multiplexer
Table of Contents

Advertisement

SCPI Command
Format Used in
This Manual

Initial Operation

HP-IB is Hewlett-Packard's implementation of IEEE Std 488.1-1984
*
16
Getting Started with the HP E1346A
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
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.
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
HP BASIC as the program language. The computer interfaces to the
mainframe using the Hewlett-Packard Interface Bus (HP-IB)*. The HP-IB
interface select code is 7, the HP-IB primary address is 09, and the HP-IB
secondary address is 14. Refer to the "HP 75000 Series B Installation and
Getting Started Guide" for addressing information.
Example: Reset the switchbox and close channel 02
10 OUTPUT 70914;"*RST"
20 OUTPUT 70914;"CLOS (@102)"
30 OUTPUT 70914;"CLOS? (@102)"
40 ENTER 70914;Value
50 PRINT Value
60 END
Opens all channels
Close channel 02
Query channel 02 state
Enter results into Value
Display result
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents