Jump to content

Labwindows dll crashes labview


Recommended Posts

I have a program which needs to run continuously unattended. However, it crashes after random periods of time. I get the error in external code at 0x00 in the vi which uses a particular Labwindows function. It will run the function in the dll fine for half a day or so then crash, which makes me think that it is a memory problem (the function does use malloc and free). Is there a way to catch exceptions in dlls to prevent the Labview program from stopping? I am running a batch file that will restart the vi if it closes but if this dll error occurs the program stops but stays open so won't restart so even a way to close labview entirely if the error occured would be OK. Also, what do people think is the best way of detecting memory leaks in applications?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.