05-17-2010 07:48 PM
Hello,
I'm a student using the LM3S8692. I have a labview VI which captures data from my ADC. The ADC is an SPI device and I pull from it in a for loop. I was trying to capture 5000 samples and store it into an array. When I build the software I get the following runtime error:
I tracked it down and figured that if I lowered the amount of ADC values stored (for instance to 512) then the code builds fine. I conclude that this a memory error.
Where can I find documentation on further runtime errors like this? I searched Google but came up with only one result. Is there a complete resource documentation?
I have attached an image. Hopefully this helps, I can attach the VI if this would help. Let me know.
Thank you,
Nicholas
05-19-2010 11:15 AM
Hi Nicholas,
It looks like you didn't include the actual error that you are seeing, so post this if you can. There is a KnowledgeBase document that addresses ARM runtime errors, and discusses heap memory and ways to try to fix this issue. Try the steps in the article, and post if this works or not.
Regards,
Stephen S.
05-28-2010 07:32 AM
Hello !
We met a similar error, as you suspected it came from a memory that grow indifinitely. In your code the problem probably come from the indexed array. Each time the loop iterates new datas are added to the array and come a time were there no memory space left.
You should perhaps save your data on the Sd card or send it somehow.
I hope it'll help
Tomasss