USB RAW Interrupt Communication in Visual C#

Publish Date: Sep 20, 2006 | 4 Ratings | 3.50 out of 5 | Print | Submit your review
This example demonstrates how to access interrupt data from an NI-VISA USB RAW device. It is designed to only work with USB RAW devices.

To run this example, install a USB RAW device and configure Measurement & Automation Explorer (MAX) to recognize the USB device (see Tutorial: Using NI-VISA 3.0 to control Your USB Device at www.ni.com). After the USB RAW device is successfully installed and configured, and you have opened a session to the device and enabled interrupts, the interrupts are displayed in the text box.

This example allows users to retrive interrupt data in a USB interrupt event. The user enables an USB interrupt and the interrupt data is displayed in the "Data" field. Click "Clear" to clear the data.

To read interrupt data in another device, close the session to the current device, select another device from the VISA resource name control, and open a session to it.

When complete, close the application to end execution.

Related Links:
Using NI-VISA 3.0 to Control Your USB Device

Back to Top

Bookmark & Share


Downloads

Attachments:

UsbInterrupts.csproj

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit