LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I want ro read interruptinformation ( CVI 6.0 )

Is there a possibility to read the IRQ - Status via CVI?
We have a PXI-SYstem witch includes a non NI - Card.
This Card delivers an Interrupt to the Hostsystem (CVI) witch I want to receive!!!

Thanks
0 Kudos
Message 1 of 2
(2,830 Views)
Reading hardware interrupts is a kernel-mode operation. That means it has to happen at the driver level. CVI is not designed to write drivers. It writes applications in the user-mode. To detect interrupts, the manufacturer of your PXI card would have to supply a mechanism in the driver. If you don't have a device driver for the board or the driver you have doesn't provide a function or mechanism for detecting that interrupt, you would have to go to a dev environment that supports driver development to write code to detect the interrupt. For example, Visual C++ with the Microsoft DDK (driver development kit) would suffice.

It can be confusing in CVI since there is functions for reading base address ports (inp and outp) as to why there isn't other driv
er level functionality. This is because we can provide a generic driver for reading from any base address (which we call the CVI low-level support driver), but not for handling more complicated kernel-mode interactions like interrupts, DMA management, etc.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,830 Views)