C Language Programs - HP E1340A User Manual

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

Advertisement

C Language
Programs
System Configuration
C Compiler Used
Running a Program
25
Getting Started with the HP E1340A
All of the C Language example programs in this manual are written for the
HP 82335 HP-IB Interface Card using the HP-IB Command Library for C.
Unless otherwise noted, the library functions used in the programs are
compatible with the ANSI C standard.
The following identifies the system on which the programs are written,
shows how to compile the programs, and gives a typical example program.
The C programs were developed on the following system:
Controller:
HP-IB Interface Card:
Mainframe:
Slot0/Resource Manager:
HP E1340A Logical Address:80
Instrument Language:
Unless otherwise noted, all C Language programs were compiled (and
tested) using the following compilers:
®
Microsoft
C Version 5.10
®
Microsoft
QuickC
©
Borland Turbo C
Borland Turbo C
++
To run a program, first compile and link the program to make an executable
file. To compile a program:
Link the appropriate HP-IB C library (located on the HP-IB
Command Library disk that came with the HP-IB Interface Card).
Use the following libraries:
®
Microsoft
C and QuickC
©
Turbo C
and C
If NOT compiling in the Large/Huge memory model, include the
" cfunc.h" header file in the program (located on the HP-IB
Command Library disk that came with the HP-IB Interface Card).
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
©
Version 2.0
Version 2.0
©
Version 1.0
©
: clhpib.lib
©
: tchhpib.lib
++
Chapter 1

Advertisement

Table of Contents
loading

Table of Contents