08-30-2017 03:42 PM
I recently updated some code from LabVIEW 2012 to LabVIEW 2017 after a few small changes it seemed to be working fine in the development environment. I then built an executable and it also seems to function just fine except that when I exit the program I get an error dialog or two. I have attached the two error dialogs that I have seen.
Thanks!
08-31-2017 01:31 AM
08-31-2017 01:55 AM - edited 08-31-2017 01:56 AM
08-31-2017 09:18 AM
The code ran before making the changes, but this application talks to a PXI RT chassis and the file transfer functions had to be updated before they worked.
I can exit the program through a variety of means, when using the X in the upper right I catch and discard the panel close event and exit the software gracefully. I also have an exit function on the menu that runs the shutdown procedure. The stop button is intentionally hidden on the executable.
All of the hardware interaction happens on the RT system which this system communicates with over TCP/IP.
There was no change in OS and I've tried the application on 5+ computers all of which previously ran the 2012 version without issue.
The code is rather large and proprietary. I was hoping someone might recognize those errors, but I might start chopping down the code to see if I can get the errors with a smaller piece that can be shared.
09-01-2017 05:10 PM
What changes specifically did you make? Those errors mentioning the memory mean that you're just calling more memory than in alotted to LabVIEW. Are you use 64bit LabVIEW? If not, then changing to the 64 bit can give you access to more of your computers onboard memory for LabVIEW. Also did you add more variables or arrays?
The following document mentions some techniques to help your LabVIEW memory conservation.
http://digital.ni.com/public.nsf/allkb/C3C516C11184AF3F862571B5006B46E1
Regards,
David Raji
Applications Engineering
National Instruments