Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Which IRQ_OUT pin is used for interrupts from NI6711

My question is about the correct use of the setInterrupt_Output_Polarity bit and  the setInterrupt_B_Output_Select bits in the Interrupt_Control register:
I used IRQ pin 0 and  kInterrupt_Output_PolarityActive_Low as described in the PCI E Series Register level manual since this board has also a mite chip.
The settings work fine with an E Series board but I cannot produce any interrupts on a NI6711 board. Which are the correct settings?
The number of updates is larger than the FIFO size, so that an FIFO interrupt has to be asserted.

My code is a modification of the one found in aoex5.cpp in the DDK
void Generate_Interrupts(tSTC *theSTC)
{   
    theSTC->Interrupt_B_Enable.setAO_FIFO_Interrupt_Enable(1);
     theSTC->Interrupt_B_Enable.flush();

    theSTC->Interrupt_Control.setInterrupt_B_Output_Select(0);
    theSTC->Interrupt_Control.setInterrupt_Output_Polarity(theSTC->Interrupt_Control.kInterrupt_Output_PolarityActive_Low);  
    theSTC->Interrupt_Control.flush();
    theSTC->Interrupt_Control.setInterrupt_B_Enable(1);
    theSTC->Interrupt_Control.flush();
    return;
}


Can anybody help? Thanks
Heike
0 Kudos
Message 1 of 2
(6,673 Views)
Hi,
some additional information: Meanwhile I tried all Interrupt pins with both polarities. I cannot get any interrupts on a NI6711 with all settings. I am sure that all interrupt enable bits are set.  So there must be "a hidden knob" somewhere.  Does anybody know where it is? I get interupts with the same settings on NI6052E
Thanks Heike
0 Kudos
Message 2 of 2
(6,658 Views)