VERIFICATION AND EXAMPLE PROGRAMS FOR THE HP E1413 A/D MODULE
This disk contains the verification and example programs for the
HP E1413 A/D Module and some of its SCPs. This file contains the following
information:
I - EXECUTABLE PROGRAM NAMES
II - EXAMPLE PROGRAM DESCRIPTIONS
III - PROGRAM LANGUAGES AND LIBRARIES
===========================
I. EXECUTABLE PROGRAM NAMES
===========================
The following lists the executable programs, the program language, the
directory on the disk in which the programs are located, and the hardware
requirements. These programs can be executed as is, without compiling,
linking, etc.
Program Names Program Language Hardware
------------- ---------------- --------
VERIF.EXE Visual C/C++ HP 82335/82340/82341 HP-IB Card,
PC computer with Windows(TM)
================================
II. EXAMPLE PROGRAM DESCRIPTIONS
================================
The following gives a short description of all programs. Note that no extension
is given since they determine the program language used to write these programs.
Note that not all programs are written in all program languages.
verif.x
1.) Prints the HP E1413 Module's identification, manufacturer, and
revision number.
2.) Prints the Signal Conditioning Plug-ons (SCPs) identification
(if any) at each of the SCP positions.
3.) Takes voltage measurements on channels 100 to 163 and returns
the readings from the Current Value Table (CVT) and FIFO.
wiretest.x
Continuously loops and prints the currently measured values from each
channel.
Use this program to troubleshoot your field wiring.
using.x
This is the example program for Chapter 3, "Using the HP E1413".
The structure of this example follows the step-by-step nature of
Chapter 3. The example provides a Function for each of the steps
shown in Chapter 3. The functions are named "step_1", "step_2" etc.
This program sets up a HP E1413 to make 240 measurements (24
channels per scan times 10 scans). This example was written for
an HP E1413 with: 1 Option 11 Straight-Through SCP
1 Option 12 Fixed Filter SCP
1 Option 13 Amplifier/Filter SCP
counted.x
This is the example program for the section in Chapter 4 titled
"Advanced FIFO Data Retrieval; Controlled Reading Count".
This program makes no SCP setup and can run with 64 open inputs.
The program makes 500K readings and retrieves them to a 8K reading
array (due to limitations of the HP-IB command library). Your data
acquisition application would of course transfer this buffer to a
disk file.
fast.x
This is the example program for the section in Chapter 4 titled
"Advanced FIFO Data Retrieval; Fastest Reading Transfer."
This program makes no SCP setup and can run with 64 open inputs.
The program makes 500K readings and retrieves them to a 8K reading
array (due to limitations of the HP-IB command library). Your data
acquisition application would of course transfer this buffer to a
disk file.
status.x
This is the example program for the section in Chapter 4 titled
"Using the Status System".
o16_fbpo.x
This is an example program for the "Option 16/17, Strain Completion
and Excitation SCP".
This program sets up and reads channels 8 through 15 of an
Option 11, 8-Channel Straight-Through SCP for Full Bending Poisson
Bridge Strain measurements
The program uses an Option 16/17 SCP for the Excitation Voltage
o16_qrtr.x
This is an example program for the "Option 16/17, Strain Completion
and Excitation SCP".
This program sets up and reads channels 8 through 15 of an
Option 11, 8-Channel Straight-Through SCP for 1/4 Bridge Strain
measurements.
The program uses an Option 16/17 SCP for the Excitation Voltage
o20_s_h.x
This is an example program for the "Option 20, 4 Channel Sample and
Hold SCP".
This program sets up and reads channels 0 through 3 as sample and
hold volts measurements, and channels 4 through 7 as
straight-through volts measurements.
o20_strn.x
This is an example program for the "Option 20, 4 Channel Sample and
Hold SCP".
This program sets up and reads channels 0 through 3 for Full
Bending Poisson Bridge Strain measurements. The program also reads
the excitation voltages on channels 4 through 7 and stores the
values into the E1413 module's memory to calculate the strain
measurements.
Both the excitation voltages and strain completion circuitry is
connected externally.
o21_fbpo.x
This is an example program for the "Option 21, 4 Channel Transient
Strain SCP".
This program sets up and reads channels 0 through 3 for Full
Bending Poisson Bridge Strain measurements.
o21_qrtr.x
This is an example program for the "Option 21, 4 Channel Transient
Strain SCP".
This program sets up and reads channels 0 through 3 for 1/4 Bridge
Strain measurements.
====================================
III. PROGRAM LANGUAGES AND LIBRARIES
===================================
The following gives the program languages in which the programs are written
and the necessary libraries and header and BASIC files to compile the programs.
----------------------------------------------
1. Programs written in Visual C/C++ using SICL
----------------------------------------------
These programs need the following files from the HP Standard Instrument
Control Library (SICL) to compile and run the programs:
SICL.H header file
SICL16.LIB library file
MSAPP16.LIB library file when using Microsoft Visual C/C++
BCAPP16.LIB library file when using Borland C/C++
These programs have a "C" extension
----------------------------------------------
2. Programs written in Visual BASIC using SICL
----------------------------------------------
These programs need the following file from the HP Standard Instrument
Control Library to compile and run the programs:
SICL.BAS
These programs have an "'FRM" extension