LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Crashes when using Flatten to XML

Hello everyone,

 

I have an inconsistent bug that i really don't understand at all.

 

I'm develloping a measurement and acquisition project (based on the continuous acquisition and measurement QMH NI template). In there I have 2 settings menu. 

The first menu contains the hardware settings, you choose the sensors, the sample rate, the measurements channels and so on... When you quit this sub vi, it writes all the parameters inside a XML file. No problem here

 

Then you launch the second menu. In there, you can set the command parameters. But there is also the possibility to do a "calibration". Once that calibration is over, you make a post treatment on it, and then you can also save those settings and the calibration inside a XML. 

The problem is this : Most of the time, labview will crash when flattening to XML those parameters. Sometimes it will work, and if you try to do another calibration, it will crash when you will save it. It's really inconsistent, sometimes it crashes directly, sometimes you can make multiple calibrations if you close the sub vi between each calibration. 

 

I just don't understand. In attached file, there is the sub vi and 2 crash report.

 

I'm using labview 2014. If you have any question that could help you to understand this problem, let me know. 

 

Thanks

Download All
0 Kudos
Message 1 of 1
(639 Views)