09-13-2010 10:39 AM - edited 09-13-2010 10:43 AM
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.
09-13-2010 10:40 AM - edited 09-13-2010 10:48 AM
Thank you very much.
09-14-2010 08:08 AM - edited 09-14-2010 08:14 AM
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?