04-21-2016 07:00 AM
Hi
I am developing a projct for a CRIO,thus created a FPGA.VI and a Host.VI.
I got the compilation succesful,after which when i run the Host.Vi,i get the attached msg.Whereas i am able to run the FPGA.vi without any errors.
Pls let mw know how to trouble shoot this.
04-21-2016 07:44 AM - edited 04-21-2016 07:47 AM
Hi krupa,
when the "out of memory" error occurs you have to strip down either your executable or the LabVIEW components installed on your cRIO!
As simple as it sounds…
You use a rather old cRIO with just 64MB of RAM. When you install the "full" Realtime environment on your target you will use something like 40-50MB of RAM due to several services started in the background. With a minimum installation I needed just 20-30MB for the RT-OS and had ~30MB free for the RTExe…
04-21-2016 07:53 AM
Thanks for the neat explanation.
1)Yes it is old CRIO-9073.I am using all latest drivers for it.Pls let me know if this is fine.
2)//Strip down the .exe or LV component.//You mean i have to erase the code downloaded that happened during compilation in the fpga???If so,how can i do that??
04-21-2016 07:58 AM
The FPGA should not be using up your memory. The bitx file will use up some harddrive space (storage), but not memory (RAM). It would be all of the NI components installed onto your cRIO and your RT application can need memory. If you have large arrays or just a lot of code in your RT, you can quickly run out of memory.
04-21-2016 11:40 AM
Once again thanks.
Could you pls tell me how exactly i can erase the NI componenets from the CRIO??I checked online,i could not find any info.
04-21-2016 11:45 AM
You have to do it through MAX. Find your cRIO in the network instruments and righ-click on the Software section under that cRIO. There will be an option to remove components. But do be careful with this. You need to make sure you have the components that your software needs.
04-21-2016 12:11 PM
Thank you both.
There were older and newer components installed together thus memory was full.I removed the older one,now my host vi runs without any errors.