08-21-2018 12:33 AM
Dear All,
I am facing a weird issue with my LabVIEW FPGA code.
I have a NI 9237 attached to cRIO 9035 and I have created a FIFO of 32767 elements and data type is fixed point. I combine all the 4 channel data and wire it to the fifo and everthing seems fine. But as soon as I save the vi it gives a broken arrow and the error redirects to the FIFO stating : "This node has experienced an unexpected error. Please redrop the node or contact National Instruments."
08-24-2018 02:04 AM
You might try pipelining the data through the loop, so you wire the data array into a shift register, and then feed the shift register into the FIFO.
I assume it's a target to host DMA FIFO? Does a smaller FIFO size have any effect on the error?
08-27-2018 08:00 AM
Thank you for replying,
I have tried pipeling but that doesn't seem to work.
Yes it is a Target to Host DMA and the fifo size does not make any difference and the error still persists.
08-27-2018 11:53 AM
Is this VI in a project and under an FPGA target? This error is not very typical and what you are doing is quite straightforward.
08-27-2018 11:35 PM
I am using a cRIO 9035 and 4 NI-9237 cards. It is a FPGA project and the FPGA vi is under the FPGA and the RIO programming mode is set to LabVIEW FPGA interface.
08-27-2018 11:49 PM
Then I am not sure what else to recommend. Unless you can post code so that others can try to see if it is the code or your configuration.
08-28-2018 12:04 AM
I made a quick project with your hardware configuration and FIFO, and didn't seem to have any issues saving. I've attached the code - see if you can open and save the FPGA VI.
08-28-2018 12:10 AM
Which Labview version you are using, I will upload a sample project.
08-28-2018 12:14 AM - edited 08-28-2018 12:15 AM
Thank you MichaelBalzer for the code.
I beleive the problem is with my Labview because when I opened your labview project I am facing the same issue. May be I need to reinstall LabVIEW.
08-28-2018 12:18 AM
It does look like an installation issue. You might try reinstalling the FPGA module first, or bite the bullet and reinstall everything.
I'm using LV 2017 at the moment.