LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use multiple IRQs?

Hello, I am using compactRIO and NI 9871 to receive from multiple serial devices which have different data speed. I attach the project I've already wrote in this email. In the target vi, Mode 4
is NI 9871. Port 1 is connected to an accelerometer which transmits 1212 bytes in two seconds and port 2 is connected to a weather station which transmits 106 bytes in two seconds. I am trying to use seperate loops for port 1 and port 2 and place the data from each port to two different FPGA FIFOs. And then I want to place all the data to the final DMA FIFO so that they can be transfered into host vi. I would like to use two IRQs and let the IRQ number to be the port number so that data from port 1 and port 2 can be seperated and calculated in the host vi.

 

However, I can not always detect the interrupt and get error 61060 which says the timeout expired before any of the IRQs were asserted. I am not sure whether my VIs are correct or not.

 

Could you please help me to check my vi and tell me if you can see any problem in it.

 

Thank you very much for your help. 

 



Download All
0 Kudos
Message 1 of 3
(2,920 Views)

Thank you very much.

0 Kudos
Message 2 of 3
(2,919 Views)

Hi masterwho,

 

It appears the project file that you attached is corrupt. If you can re-program it and re-attach it then I will be happy to have a look.

 

Can I also ask what version of LabVIEW you are using?

Kind Regards

Michael
NIUK Application Engineer
0 Kudos
Message 3 of 3
(2,872 Views)