VT1433B User's Guide

The Host Interface Library

VT1433B Interrupt Handling

To make the VT1433B module do the interrupt, both a mask and a VME Interrupt line must be specified, by calling e1432_set_interrupt_mask and

e1432_set_interrupt_priority respectively. Once the mask and line have been set and an interrupt occurs, the cause of the interrupt can be obtained by reading the E1432_IRQ_STATUS_REG register (using e1432_read_register). The bit positions of the interrupt mask and status registers match so the defines can be used to set and check IRQ bits.

Once it has done this interrupt, the module will not do any more VME interrupts until re-enabled with e1432_reenable_interrupt. Normally, the last thing a host computer’s interrupt handler should do is call e1432_reenable_interrupt.

Events that would have caused an interrupt, but which are blocked because e1432_reenable_interrupt has not yet been called, will be saved. After

e1432_reenable_interrupt is called, these saved events will cause an interrupt, so that there is no way for the host to “miss” an interrupt. However, the module will only do one VME interrupt for all of the saved events, so that the host computer will not get flooded with too many interrupts.

For things like “E1432_IRQ_BLOCK_READY”, which are not events but are actually states, the module will do an interrupt after e1432_reenable_interrupt only if the state is still present. This allows the host computer’s interrupt handler to potentially read multiple scans from a VT1433B module and not get flooded with block ready interrupts after the fact.

Host Interrupt Setup

The VT1432A Host Interface library normally uses the SICL I/O library to communicate with the VT1432A hardware. To receive VME interrupts, a variety of SICL setup calls must be made. The “examples” directory of the VT1433B distribution contains an example of setting up SICL to receive interrupts from a VT1433B module.

This is a summary of how to set up SICL to receive a VT1433B interrupt:

￿Query SICL for which VME interrupt lines are available, using ivxibusstatus and ivxirminfo.

￿Tell the VT1433B module to use the VME interrupt line found in step one, using e1432_set_interrupt_priority.

￿Set up an interrupt handler routine, using ionintr and isetintr. The interrupt handler routine will get called when the interrupt occurs.

￿Set up interrupt mask in the VT1433B module, using e1432_set_interrupt_mask.

4-27

Page 105
Image 105
VXI manual VT1433B Interrupt Handling

VT1433B specifications

The VXI VT1433B is a versatile and sophisticated instrument designed for testing and measurement applications, particularly in the realm of telecommunications and electronics. Designed with the needs of engineers in mind, it brings a comprehensive set of features and technologies that enable accurate and efficient performance.

One of the standout features of the VT1433B is its ability to function as a high-performance data acquisition system. With up to 32 input channels, users can capture a wide range of signals simultaneously. This capability is particularly beneficial for applications requiring the monitoring of multiple parameters or systems concurrently, such as in complex electronic testing scenarios.

The VT1433B utilizes advanced technology for signal processing and analysis. Equipped with high-resolution analog-to-digital converters, the unit ensures precise measurement of various signal types, including voltage, current, and frequency. This precision is critical for engineers who rely on accurate data to make informed decisions during the design and testing phases.

In addition to its measurement capabilities, the VT1433B also supports multiple communication protocols, including GPIB, USB, and LAN, allowing for easy integration into existing test systems. This flexibility enhances its usability in both laboratory settings and field operations, where different setups may be required.

The instrument also comes with a user-friendly interface, featuring a clear display and intuitive controls that simplify operation. This design consideration allows users, regardless of their experience level, to navigate the system seamlessly and access the features they need without unnecessary delays.

Moreover, the VT1433B incorporates robust software support, including various programming tools and libraries. This aspect allows for easy implementation of automated test sequences and extensive data analysis capabilities, streamlining the workflow significantly.

Another notable characteristic of the VT1433B is its reliability and durability, designed to withstand the rigors of continuous use in demanding environments. It is engineered to operate under a broad range of temperatures and conditions, making it suitable for diverse applications, from laboratory research to field testing.

In summary, the VXI VT1433B stands out as a comprehensive testing solution, characterized by its extensive input channels, high precision measurement capabilities, multi-protocol communication, user-friendly interface, and robust software support. This combination of features and technologies makes it an invaluable tool for engineers and researchers looking to optimize their testing and data acquisition processes in various fields.