ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error

I am getting a C++ Runtime Error! for Labview.exe  (Using version 8.6)  and the error message i am getting is 'abnormal program termination'

 

This happens every third time I run my vi so I though it might be a reference or memory problem but I checked the process memory on task manager I don't see any memory leaks

 

I don't know if it is related to http://forums.ni.com/ni/board/message?board.id=170&thread.id=356750&view=by_date_ascending&page=2

 

Any help why this is happening? and will it repeat on an exectubale version of the vi

 

thanks

0 Kudos
Message 1 of 6
(3,349 Views)
Well, what is your code doing? You pointed to a message that was talking about TDMS. Are you using TDMS? If so, how? What else are you doing in your VI? Perhaps if you post your VI then folks can be of some more help...
0 Kudos
Message 2 of 6
(3,339 Views)

No I am not using any TDMS at all, and I would have posted the vi except that it is too big and depends on many other vi's to function properly.  But what it does is that it acts as the front panel to a Graphic User Interface that allows you to  save and load files, veiw output files and html files and calls many other vi's for other fucntions and calculations.

 

However this monring as I am testing th vi I do not get the same error message again, I don't know why as I didn't change anything in the program but just let it rest over night.  But I would still like to know why i was getting it in the first place just in case it came back.

 

thanks

0 Kudos
Message 3 of 6
(3,312 Views)

Hey reza,

 

Its  hard to troubleshoot your problem with the amount of detail that we currently have, especially since it basically fixed itself. If you wanted to post a smaller version of the code that could reproduce the same error, or start getting the error again, we could try to help you. Since it is no longer happening, it leads me to believe that it was something with your computer for the time being.

 

Hopefully it keeps working for you, if not, let us know.

Chris Van Horn
Applications Engineer
0 Kudos
Message 4 of 6
(3,289 Views)

yeah ,

 

I understand and i really can't put in the code cause it is too big and if i shrink it down then i might be accidently removing the function that actually caused the thing to crash to begin with.  I was hoping that it might be the result of a specific bug or something in version 8.6 that would lead to a result like this and could be resolved quickly, since i never had that problem before with previous versions.

 

If the problem does resurfaces again the i will try to dwell deeper myself including restarting the computer to make sure I don't waist everybody's time again.

 

Thanks again

0 Kudos
Message 5 of 6
(3,286 Views)
I guess, you have the same trouble as described here. (reasons are different, of course, but result nearby the same).
0 Kudos
Message 6 of 6
(3,283 Views)