C-Language Host Interface Library Example Programs - HP E1433A User Manual

Vxi 8-channel 196 ksa/sec digitizer plus dsp
Table of Contents

Advertisement

C-Language Host Interface Library example programs

The HP E1432A C-Language Host Interface Library comes with several
example programs, which help demonstrate how to use the library. These
example programs are found in the "/opt/e1432/examples" directory or the
\Hpe1432\demo\ directory. The programs in this directory are all very
small, so that they will be easily understood and easy to copy into a real
application.
The files in the examples directory are:
Makefile
A unix Makefile which can be used to compile all of the programs in the examples
directory.
README
A file containing the information given here.
detect.c
Shows how to use SICL calls to find the logical addresses of the HP E1433A modules
in a system.
example.c
Shows the basics of setting up an E1433A, starting a measurement, and reading a
block of data.
intr.c
Shows how to set up SICL and an HP E1433A to use interrupts for data collection.
src_intr.c
Shows how to set up SICL and an HP E1433A to use interrupts with a 1D4 Source
board, for overload shutdown and overread.
tachmon.c
Shows how to monitor a tach channel signal using the other inputs in the HP E1433A
module.
throughput
A directory containing example programs for throughput to and post-processing from
an HP E1562A disk module.
Demo Programs
In addition to example programs, the HP E1432A Host Interface library also
comes with demo programs. These programs are found in the
"/opt/e1432/demo" directory.
One of these demo programs, called "semascope", demonstrates that the
HP E1433A hardware and software are working properly. When run, it
identifies the HP E1433A modules in the VXI system, runs a measurement
using the HP E1433A modules that it finds, and plots the results in X11
windows. This program is not meant to be an example of how to use the
HP E1432A library, although we do provide the source code.
Other demo programs include "rpmtrig" and "rpmtrig2" and "semascope3."
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
HP E1433A User's Guide
Getting Started With the HP E1433A
2-17

Advertisement

Table of Contents
loading

Table of Contents