I
-
Automating Measurements
Configuring Your Test System
Operation of an
Commands can be sent from an external computer or from
IBASIC,
or both at
Analyzer Running
the same time, if certain precautions are observed. Things to consider:
IBASIC Under Computer
Control
1. If both the analyzer and the computer send SCPI commands at the same
time, the analyzer may not hnish the
IBASIC
command before executing
the computer’s command, or vice-versa. The programmer must ensure-
that SCPI commands executed by
IBASIC
do not overlap with SCPI
commands sent from an external controller, otherwise the system may
deadlock. Synchronization between the analyzer and the controller must
be ensured. See “Synchronizing the Analyzer and a Controller” in the
supplement to the HP
hstrument
BASIC User’s Handbook for additional
information.
2. Both
IBASIC
(SelectCode
8) and the external controller (LAN or
SelectCode
7)
share the same
HP-II3
status model (the same analyzer status bits go to
each). Be careful sending commands which affect status reporting, such as
*CLS,
STAT:PRES,
*RST,
etc.
7-14