VXI manual Introduction, VT1433B Users Guide The Host Interface Library

Models: VT1433B

1 203
Download 203 pages 12.71 Kb
Page 80
Image 80
VT1433B User's Guide

NOTE

VT1433B User's Guide

The Host Interface Library

Introduction

The Host Interface Library for the VT1433B is a set of functions that allows the register-based VT1433B to be programed at a higher level than register reads and writes. The library allows groups of VT1433Bs to be set up and programmed as if they were one entity.

The VT1433B uses the same software as the VT1432A 16 Channel 51.2 kSamples/s Digitizer plus DSP.

Two version of the Host Interface Library are available. One is the HP-UX C-Language Host Interface Library which uses SICL (the Standard Instrument Interface Library) to communicate to the VT1433B hardware. The other is the VXIplug&play Library which communicates with the hardware using the VXIplug&play standard. This chapter covers the C-Language version. If using the VXIplug&play version, this chapter will not be needed. Instead, see the chapters titled “Getting Started With the VT1433B” and “Using the VT1433B”.

The C-Language Host Interface Library has been provided for the purpose of backward compatibility and is no longer supported. New users should use the VXIplug&play Library while older users are encouraged to migrate their applications to the VXIplug&play library.

The library includes routines to set up and query parameters, start and stop measurements, read and write data and control interrupts. Routines to aid debugging and perform low-level I/O are also included.

For information on diagnostics see the chapter titled “Troubleshooting the VT1433B.”

Almost all functions in this library return 0 if they complete successfully and a negative error number if there is a problem. The return value of the function should always be checked and appropriate action taken for non-zero values. See the on-line man pages for more information on error messages.

4-2

Page 80
Image 80
VXI manual Introduction, VT1433B Users Guide The Host Interface Library