cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

LV application error

Resolvido!
Ir para a solução

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

timmy
0 Kudos
Mensagem 1 de 5
2.879Exibições

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

Applications Engineer
National Instruments
0 Kudos
Mensagem 2 de 5
2.861Exibições

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

timmy
0 Kudos
Mensagem 3 de 5
2.846Exibições

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

Applications Engineer
National Instruments
0 Kudos
Mensagem 4 de 5
2.825Exibições
Solução
Aceita pelo autor do tópico PakAsia

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.

timmy
0 Kudos
Mensagem 5 de 5
2.808Exibições