Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

interrupt programming on 6254

Hi, I'm writing a card driver using RTX, DDK and the NI PCI-6254,
 
I've managed to init the card and can read channels fine as long as I enter a loop, i.e.
 
m = 0
while (!board->AI_Status_1.readAI_FIFO_Empty_St())
{
        ... read FIFO data
}
 
 
this works perfectly, however, For my particular application I need to use interrupts because the response to an event
has to be very very fast. the problem i'm having is I can register the interrupt on the correct pin, however cannot get the
card to generate any interrupts. the provided examples by NI don't have any that use interrupts.
 
Does anyone know how to set up the registers for FIFO_NotEmpty interrupts on an M Series card?
 
Thanks
 
 
John
0 Kudos
Message 1 of 3
(3,083 Views)
sorry, ive posted it in the wrong section again!!!
0 Kudos
Message 2 of 3
(3,082 Views)
Re-entered here :

http://forums.ni.com/ni/board/message?board.id=90&message.id=286

Thanks
 
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 3 of 3
(3,068 Views)