LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI Interrupt Problem

We have a small test program written in LabVIEW generating INTA over the PXI Bus, but VISA is not able to detect the interrupt. The Device Driver Wizard sequence is not executed.

 

The following is generated in the .INF file:

 

InterruptDetect0 = "R32 BAR3 0x00000130;C32 BAR3 0x00000130 0x00000200 0x00000200;"
NumDetectSequences = 1
InterruptQuiesce = "W32 BAR3 0x00000138 0x00000200;"
EmergencyDisarm = "W32 BAR3 0x00000138 0xFFFFFFFF;"

 

Using logic analyzer on the PXI bus we are not able to see InterruptDetect0 over the hardware. However, INTA is asserted.

 

John and Iqbal

0 Kudos
Message 1 of 4
(2,692 Views)

John and Iqbal,

 

What OS are you on, and is this using our driver development kit (DDK)? Are you seeing a specific error, and can you give me a snippit of code where this is coming from? 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(2,670 Views)

We are using Windows 7 on PXIe-8133 controller. Basically, the VISA wait_on_event times out each time. The error is the time out error.

 

I suppose, that kernel is not synched with device driver settings to correctly handle PXI_Interrupt with VISA Event drivers. This is my first attempt on implementing the PXI_Interrupts using DDK and there may be some settings that are overlooked on my part. The card we are using has a PLX chip to interface with PCI bus and there is a FPGA on its local bus to manipulate hardware. The #INTA (PXI_Interrupt) hardware line is routed from PCI backplane to PLX and PLX's EEPROM is configured to turn on the #INTA over its local bus to interface with FPGA. There is register in the FPGA that interfaces with #INTA directly and by writing some value to it I am able to change the state of the #INTA. So, I know that I have control over this hardware line from the FPGA. But, VISA is not able to detect the change over the PCI bus due to some issues in the DDK settings. Since, I don't know what driver's kernel is doing I can not be sure if our Interrupt Detection is working correctly or the other way around.

 

Iqbal

0 Kudos
Message 3 of 4
(2,657 Views)

Iqbal,

 

Because youre using the DDK for this application, I think you would be best served making a post in the DDK section of the forum, where the experts for that product frequent. It can be found here:

http://forums.ni.com/t5/Driver-Development-Kit-DDK/bd-p/90

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,639 Views)