LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does "... has encountered a problem..." mean?

Hi,

 

I am testing my LV code and it runs fine without any errors when I start them manually -  I just open up a main VI and run it, then it calls up and then close up sub panels (VIs) as expected based on user interaction. It seems no problem at all.

 

Then I build the VI code in a project and generate a successful executable. When I run it it seems fine until I end the LV program by click a stop button, which closes the panel. As soon as the VI panel is gone, it pops up a message box:

 

… has encountered a problem and needs to close.  We are sorry for the inconvenience.

 

In that box, I click on one button to pop up another message box.  There is “Error Signature” section.  It says:

 

AppName: my_gui.exe     AppVer:1.0.0.6

ModName: xerces_c_2_2_0.dll ModeVer: 2.2.0.0

Offset: 00126db7

 

 

I am not sure what it actually tells me about the code.   

 

Thank you so much for you help in advance!

 

LV 8.2

0 Kudos
Message 1 of 9
(4,006 Views)

That message tells me very little as well.

Do you recognize the name "xerces_c_2_2_0.dll ".

My gut tells me there is an issue with that dll.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 9
(3,998 Views)
I copied xerces_c_2_2_0.ddl from  ..\vi.lib\addons\internet\dom\ 
 
my code calls two sub VIs from dom.lib from that directory for XML functions.  So I have to include xerces_c_2_2_0.dll in the project for the code build. 
 
 
0 Kudos
Message 3 of 9
(3,990 Views)

After this reply I suspect my help to you will diminish greatly.

Are you closing everything that gets opened correctly before shutting down?

Please post back with your solution when you find it. I'll be off-list for a couple of days.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 9
(3,986 Views)
yes, all other panels are closed when I close the main one.  I'll post back when I find out the cause.  Thanks!
0 Kudos
Message 5 of 9
(3,979 Views)
Not just panels, but also any other VIs or applications that are opened dynamically.
Jim

LV 2020
0 Kudos
Message 6 of 9
(3,974 Views)

Close sessions, connections etc

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 9
(3,972 Views)
I'll take a close look at my code.  Thanks!
0 Kudos
Message 8 of 9
(3,965 Views)
I got the problem fixed.  what I did was to add a lot of XML Close Reference.vi to close all the XML classes used in the code.  good lessons learned.   Thanks much!
Message 9 of 9
(3,948 Views)