HP (Hewlett-Packard) E1368A Microwave Oven User Manual


 
SCPI Command
Format Used in
This Manual
You can send SCPI commands in either short or long form. Refer to
Chapter 4 for more information. 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
ROUTe command is an implied command and is shown in this
manual as:
[ROUT:]CLOS (@102)
Thus, to execute these commands, simply enter:
CLOS (@102)
Initial Operation
Use the following program example to verify initial Microwave Switch
operation by closing a channel and querying channel closure. The example
first resets the switchbox and then closes channel 02 of a single Microwave
Switch 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 15. 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 70915;"*RST" !Resets the module; opens all
channels.
20 OUTPUT 70915;"CLOS (@102)" !Close channel 02.
30 OUTPUT 70915;"CLOS? (@102)" !Query channel 02.
40 ENTER 70915;Value !Enter results into value.
50 PRINT Value !Display results (should return
"1").
60 END !Terminate program.
* HP-IB is Hewlett-Packard’s implementation of IEEE Std 488.1-1984
16 Getting Started with the HP E1368A/69A/70A Chapter 1