06-09-2011 01:23 AM
Hello everybody...
I am using LV 8.5 (Win XP) code that i had upgraded from LV 4.0 and Win 98. Some shared libraries are 16 bit that i can't change. So I made exe file in LV4.0 (runs continously) that communicates with those dlls and return data to LV8.5 through DDEs.. But in some cases labview application error occurs and ntvdm file closes all of sudden..
Any one can tell me possible reasons
Solved! Go to Solution.
06-09-2011 06:27 PM
Hi indo asia,
I'm sorry you are having problems! Is this error reproducible? If you follow a set number of steps, does it always occur?
How are you currently communicating the data back and forth again? It appears that this error often occurs when two programs are attempting to access the same memory space at the same time. (Check out this article: How to Fix a General Protection Fault)
Have a great day,
Chris V
06-11-2011 12:36 AM
Thanks Chris V
My hardware is working properly. This error occurs frequently but not on same step of commands. Most probably different DDEs are acessing same memory at a time. I have changed timeing constants and also close all DDE servers at the end of every VI.
I am testing now and hope this might work. If not i will contact you again
Thanks once again
06-13-2011 12:52 PM
Hi timmy,
Great. If you are able to solve the issue this way, make sure to post your solution and mark the forum as solved so that others can benefit!
Have a great day,
Chris V
06-15-2011 01:11 AM
Thanks Chris V
I am using DDEs with delays so that DDE server should wait for response and reads continously. Now I had make timeing intelligent by using case structures and after every case i close the DDE server. Making sure that resources are free.
By doing this now i am faceing problem no more.