Agilent Technologies E1437A User Manual page 59

20 msample/second adc with filters and fifo
Table of Contents

Advertisement

E1437A User's Guide
VXI plug&play Programming Reference
hpe1437_attrib_get
Allows direct access to the I/O library functions.
VXIplug&play Syntax
#include "hpe1437.h"
ViStatus hpe1437_attrib_get(ViSession id, ViInt16 attrib, ViPint32 value);
Description
hpe1437_attrib_get is used primarily to manage the use of interrupts. Since interrupts
are a shared resource across all modules using the VXI interface, it is not possible for
the E1437 library, which governs single modules, to provide the functions to properly
manage interrupts.
This function is used to access either the I/O library handle or the mapped I/O base
address of the module. You should refer to the appropriate VISA or SICL
documentation for descriptions of the I/O library functions.
Parameters
id is the VXI instrument session pointer returned by the hpe1437_init function.
attrib designates the type of attribute to return. HPE1437_IO_HANDLE accesses the
I/O library handle. HPE1437_IO_ADDRESS points to the mapped I/O base address of
the module. HPE1437_RM_HANDLE accesses the I/O library handle of the default
resource manager. HPE1437_DATA_REGISTER points to the mapped address of the
E1437 data register. One or both of these parameters are used when calling I/O library
functions directly.
value is the value of the requested attribute. For a VTL/VISA I/O library the value of the
handle attribute corresponds to the vi parameter used by the majority of the I/O
functions. For the SICL I/O library the handle is equivalent to the session parameter
used by the majority of the I/O functions. In the case of SICL the long handle value
should be cast to a short in order to be type compatible with the SICL session. The
address attribute points to the base of the mapped I/O address space, regardless of
which underlying I/O library is used.
Effect on Active
This command does not abort any measurement in progress.
Measurement
See Also
hpe1437_init, hpe1437_interrupt_setup
4-12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertisement

Table of Contents
loading

Table of Contents