
138
Chapter 11
Using HP Instrument BASIC
HP Instrument BASIC, Overview
HP Instrument BASIC, Overview
You can use HP Instrument BASIC in a wide variety of applications from mere automation
of a measurement procedure to external GPIB equipment control.
HP Instrument BASIC, although incorporated in the 4294A, works as independent system
control. Thus it can communicate, using GPIB commands, with external GPIB measuring
equipment, computers, peripheral devices, let alone the 4294A's main unit via the GPIB
interface.
The programming interface of HP Instrument BASIC comprises an editor and
programming utilities. These utilities are to save, recall, re-number programs, and to delete
a program in part or in whole.
The command set of HP Instrument BASIC looks similar to that of HP BASIC. Actually,
with small modifications made, HP Instrument BASIC programs can be run using HP
BASIC on an external computer. See “HP Instrument BASIC Programming Technique” in
HP Instrument BASIC User's Handbook
.
Controlling the Agilent 4294A
HP Instrument BASIC can control the 4294A’s main unit via the internal GPIB bus. This
means that 4294A has a measuring device and a controller coupled together with the GPIB
bus within a case.
NOTE
The select code for the internal GPIB bus is set to 8. Any internal address from 0 through
30 is valid, so the 4294A's device selector in sample programs is set to “800”.
For details of the GPIB addresses and the device selectors, see “Device Selectors” in “HP
Instrument BASIC Interfacing Techniques” in
HP Instrument BASIC User's Handbook
and “Device selector” on page 28.
Summary of Contents for 4294A
Page 4: ...4 ...
Page 18: ...18 Contents ...
Page 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Page 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Page 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Page 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Page 246: ...246 13 Application Sample Programs File Transfer Function ...
Page 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Page 507: ...Index Index 507 Index ...
Page 508: ...508 Index Index ...
Page 509: ...Index Index 509 Index ...
Page 510: ...510 Index Index ...
Page 511: ...Index Index 511 Index ...
Page 512: ...512 Index Index ...
Page 513: ...Index Index 513 Index ...
Page 514: ...514 Index Index ...
Page 515: ...Index Index 515 Index ...
Page 516: ...516 Index Index ...
Page 517: ...Index Index 517 Index ...
Page 518: ...518 Index Index ...