05-02-2009 10:00 AM
Hello
Over the past few months I have been continually using Labview to perform some data acquisition and relevant signal processing.
Today though, I cannot achieve anything due to a series of errors.
When I open up my latest vi (Attached), it runs fine - if I try to modify it at all and then run it- the program crashes and closes.
If I first try to save it after modification before running - I get a popup message with 'Save Error Code 5: BD Heap'
I have read the one message in the discussion forums regarding this - and tried to progress with any relevant information, but to no avail.
I have tried copying it all over to a new vi, but no joy either.
I have also attached the latest error log - in a bid to try and figure out what is going wrong.
Thank you in advance
Skyman
Solved! Go to Solution.
05-02-2009 11:30 AM
Sometimes what helps (believe it or not) is to save the VI for a previous version and then opening that. Try that.
Of course, I'm not going to stop there. Your program can be improved:
05-04-2009 03:24 AM
Thanks smercurio_fc
Yes the code is not the best orgainsed in the world and I have taken steps to do everthing you pointed out and implent that.
However I have been trying to get it to run all weekend - Saving for a previous version does not solve the problem - on all older versions Labview closes instanly on clicking on run.
I am pulling my hair out - it was excellent for months now nothing seems to be working.
Skyman
05-04-2009 09:37 AM
05-05-2009 09:14 AM
Skyman, this seems to be a very rare issue. Please have a look at the following forum, as it addresses the same bloack diagram heap error you've recieved. I cannot find "feedback nodes" in your code, I could see many shift registers, which behave simularly.
http://forums.ni.com/ni/board/message?board.id=170&message.id=367703&requireLogin=False
I am able to work through the example described in the linked post, and I consistantly get the same issue. I will raise this our the national Instruments R&D department, and see if they agree it is a bug. Which version of LabVIEW are you running please?
05-05-2009 01:30 PM
Thanks to you both
As you will hopefully see on th thread the program attched by smercurio_fc seems to be working fine now (Touch wood) - must be a problem with the mathscript node.
I am running Labview 8.6 - it seems to affect all my programs with mathscript nodes - now that I work through them - Would a reinstall be the best idea?
Skyman
05-05-2009 02:47 PM
Skyman wrote:I am running Labview 8.6 - it seems to affect all my programs with mathscript nodes - now that I work through them - Would a reinstall be the best idea?
This is highly suspicious. You've seen this occur on other VIs as well? I would suspect a corrupted library somewhere and would say a repair/reinstall is probably a good idea. It would probably be a good idea to run a check on the hard drive as well.
02-23-2015 02:48 AM
02-23-2015 03:00 AM