06-23-2016 12:42 PM - edited 06-23-2016 12:43 PM
I'm trying to collect and log data using a cRIO-9012, an analog input module (NI 9209) and a CAN module (NI 9853) using Labview RT. The cRIO is connected directly to my computer with an ethernet cable. The problem is that as the main VI is run, it begins to slow down and eventually comes to a stop after a certain number of loops. It tends to stop in the same place each time, leading me to believe this is a memory issue. I don't currently touch any data logging (see below), but I'm unsure if the values are being stored on board the cRIO without my knowledge.
Below is a screenshot of my troubleshooting VI. It simply reads in 5 analog inputs and this particular VI crashes after approximately 896 loops (and this is repeatable).
I'm not sure if this helps, but this is the VI that is called by the FPGA Target block above.
Solved! Go to Solution.
06-23-2016 12:47 PM
Do you see the same behavior if you move the Open FPGA VI Reference outside of your while loop?
06-23-2016 12:54 PM - edited 06-23-2016 12:54 PM
My bad, haha. That worked, and I suppose it makes sense as I was opening over 800 FPGA targets (would explain the slowdown and eventual crash).
Thank you!