QuickBASIC
Language Programs
All of the QuickBASIC Language example programs in this manual are
written for the HP 82335 HP-IB Interface Card using the HP-IB Command
Library for BASIC.
The following identifies the system on which the programs are written,
shows how to compile the programs, and gives a typical example program.
System Configuration
The QuickBASIC programs were developed on the following system:
Controller:
HP Vectra 386/25 personal computer
(386 processor operated at 25 MHz)
HP-IB Interface Card:
HP 82335 HP-IB Interface with
Command Library
Mainframe:
HP 75000 Series B/C
Slot0/Resource Manager:
HP E1301A Mainframe/E1405/E1406
Command Module
HP E1340A Logical Address:80
Instrument Language:
SCPI
Running a Program
To run a program, first compile and link the program to make an executable
file. You can either compile and link the program in the QuickBASIC
environment, or compile and link separately on the command line as
follows.
Using the QuickBASIC Environment
To compile and link a program, select the QuickBASIC environment as
follows:
qb <
path \program name
> /l
\path \qbhpib
This loads both the program and HP-IB library into the QuickBASIC
environment. Note that this only selects the QuickBASIC version 4.0 and
above environment. For other versions of QuickBASIC, refer to the “ HP
82335 Using the HP-IB Interface and Command Library” manual.
Using the Command Line
To compile and link using the command line is a two step method as
follows:
First, compile the program by executing:
bc <
path \program name
>
31 Getting Started with the HP E1340A
Chapter 1
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...