12-08-2013 02:31 PM
Hi guys,
I am trying to build a program to run on a touchscreen windows CE system and have tested the majority of the individual components to see that they work on the system and they all succeed, however when I build and try to run the entire program I am presented with a popup box saying:
App Failed. Error Code 70897003. Unable to lock memory chunk.
The program then shuts down completely.I have tried searching the forums and the web but this specific error code is not mentioned anywhere and the information I have been able to find about Unable to lock memory chunk errors has not been very helpful with how to go about resolving this problem.
Any suggestions or help would be much appreciated.
Solved! Go to Solution.
12-08-2013 05:29 PM
Are you trying to allocate some big array? Sounds like too big allocation problem.
/Y
12-10-2013 05:51 PM
Sorry for the slow reply I was pulled away on another project for a bit, but no, there are no large arrays, depending on your definition of large.
When the program initialises there are 5 20 item arrays, but when I remove the rest of the program and just run the initilisation stage it works fine even with the arrays included. After the initilisation portion it then enters into a large event structure and I have been trying to narrow down where the problem could be present, but any help to try and narrow down the regions of interest would be useful.
12-11-2013 02:54 PM
ogk.nz,
Is that error code something pops up in LabVIEW or is this a Windows error code?
Regards,
Ryan
12-11-2013 05:27 PM
Given the inability to find the error code in reference anywhere on the internet or forums I'm not 100% but the error code bears similarities to similar errors that have been presented to other labview users who have had their problems resolved. I talk about the "Unable to lock memory chunk" which seems to be a labview phrase. I keep getting pulled away on other projects so I haven't had much time to strip the code back but I don't believe it to be a memory size issue so when I have available time I am slowly strippin sections of code out of the event structure in the hope of finding the culprit function that is not allowed in either touchscreen or CE.
12-12-2013 03:39 PM
Does your code contain any blinking property nodes for any of your controls (such as LEDs)? I have found some other instances in the past where using these on Windows CE devices have caused this error to occur.
12-12-2013 03:44 PM
There are no property nodes involved in the program at all anymore, I used to have some but they would not allow the code to compile at all so I removed them and made do. Aftter removing them the code compiles/builds correctly but will simply not run because of the error.
12-13-2013 07:40 AM
How large is this code set? Is it something you could attach for us to look at?
12-15-2013 01:57 PM
Ok, So I have resolved the problem myself, turns out it is not a back end problem at all, in my front panel I had accidentally overlapped 2 Tab Controls resulting in one being placed inside the other. Move them so they are not stacked and the problem is resolved.
So moral of the story if anyone gets this error in future, check your Tab Controls are not overlapping/stacked.