Quickbasic Language Programs - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

QuickBASIC
Language Programs
System Configuration
Running a Program
31
Getting Started with the HP E1340A
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.
The QuickBASIC programs were developed on the following system:
Controller:
HP-IB Interface Card:
Mainframe:
Slot0/Resource Manager:
HP E1340A Logical Address:80
Instrument Language:
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:
path \program name
qb <
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
HP Vectra 386/25 personal computer
(386 processor operated at 25 MHz)
HP 82335 HP-IB Interface with
Command Library
HP 75000 Series B/C
HP E1301A Mainframe/E1405/E1406
Command Module
SCPI
\path \qbhpib
> /l
>
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents