HP 4155A/4156A SCPI Programming
SCPI Programming Basics
Preparation before Controlling the HP 4155A/56A via
HP-IB
SCPI programs to control the HP 4155A/4156A via HP-IB can be run from
an external computer or from the built-in HP Instrument BASIC (IBASIC)
controller.
To run these programs, the HP 4155A/56A must be set to
HP 4155A/56A
command mode
, which is the default mode.
The HP 4155A/56A has two command modes: HP 4155A/56A command mode
(default) and HP 4145 syntax command mode.
You use the HP 4145 syntax command mode if you need to execute HP
4145A/B programs on the HP 4155A/56A. For information about this, refer to
Chapter 5.
Controlling from External Computer.
You must do as follows before controlling HP 4155A/4156A from an external
computer:
1. Connect the HP-IB interface of external computer to HP-IB interface on
rear panel of HP 4155A/4156A.
2. Set the
HP 4155A/56A is
eld on the SYSTEM: MISCELLANEOUS page to
NOT SYSTEM CONTROLLER.
3. Enter the HP-IB address of your HP 4155A/4156A into the
HP-IB ADDRESS
eld.
Controlling from built-in IBASIC controller.
If you use built-in IBASIC controller to control HP 4155A/4156A, you do not
need to prepare before controlling HP 4155A/4156A because built-in IBASIC
controller is always connected to HP 4155A/4156A via internal HP-IB.
However,
to print/plot
from built-in IBASIC controller, set \
HP 4155A/56A
is
" eld on the SYSTEM: MISCELLANEOUS page to SYSTEM CONTROLLER.
4-4