Agilent Technologies E1439 User Manual page 84

Vxi 70 mhz if adc with filters and memory
Table of Contents

Advertisement

Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_attrib_get
Gets low-level attributes of current I/O library session.
VXIplug&play Syntax
ViStatus age1439_attrib_get(ViSession id, ViInt16 attribute, ViPint32 value);
Description
age1439_attrib_get is used primarily to manage the use of interrupts which requires making
direct VISA function calls. Since interrupts are a shared resource across all modules using the
VXI interface, it is not possible for the Agilent E1439 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 documentation for descriptions of the I/O
library functions.
Parameters
id
is the VXI instrument session pointer returned by the age1439_init function.
attribute
designates the type of attribute to return.
AGE1439_IO_HANDLE
AGE1439_IO_ADDRESS
AGE1439_RM_HANDLE
AGE1439_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 the VISA I/O library the value of the handle attribute
corresponds to the vi parameter used by the majority of the I/O functions. The address attribute
points to the base of the mapped I/O address space.
Example
See the interrupt.c example program.
Return Value
AGE1439_SUCCESS indicates that a function was successful.
Values other than AGE1439_SUCCESS indicate an error condition or other important status
condition. To determine the error message, pass the return value to
page
See Also
"age1439_init" on page
74
#include "age1439".h
accesses the I/O library handle.
points to the mapped I/O base address of the module.
accesses the I/O library handle of the default resource manager.
102.
132,
"age1439_interrupt_setup" on page 146
points to the mapped address of the Agilent E1439 data register.
"age1439_error_message" on

Advertisement

Table of Contents
loading

Table of Contents