HP 8-Channel 196 kSa/sec Digitizer plus DSP E1433A manual Demo Programs

Models: 8-Channel 196 kSa/sec Digitizer plus DSP E1433A

1 220
Download 220 pages 41.78 Kb
Page 35
Image 35

HP E1433A User's Guide

Getting Started With the HP E1433A

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.”

2-17

Page 35
Image 35
HP 8-Channel 196 kSa/sec Digitizer plus DSP E1433A manual Language Host Interface Library example programs, Demo Programs