02-13-2013 02:40 AM - edited 02-13-2013 02:43 AM
When a VI has the "Autopreallocate arrays and strings checkbox" checked it isn't removed when running on a PC.
With this option on and a conditional terminal in a for loop there is a crash source. (memorymanager.cpp line 566)
The snippet hasn't the option included, the attached VI does. The bug is checked in LV 2010-2011-2012. It appears after running and saving a (non-cosmetic) change or closing the VI.
Solved! Go to Solution.
02-13-2013 02:54 AM
This option is only available in the FPGA module. Do you compile the VI for an FPGA?
Norbert
02-13-2013 02:58 AM
no it is a VI used by the PC host exe in a FPGA project, maybe it was previously used for the FPGA, but for the test you can compile it in LabVIEW without the FPGA module installed.
02-13-2013 03:00 AM
I concur that the behavior is not expected. Nevertheless, this option can only be set for FPGA VIs. Windows VIs don't have this checkbox at all.
Therefore please test if removing the check from the checkbox solves the crash issue on Windows.
thanks,
Norbert
02-13-2013 03:04 AM
Removing the checkbox solves the issue, but one would expect that the checkbox doesn't affect execution on a Windows PC, certainly won't crash LabVIEW.
02-19-2013 04:38 AM
Hello Bert,
Thanks for reporting this.
I transfered it to R&D (CAR # 392232).
Regards,
08-12-2015 09:30 AM
Hey everyone,
The crashing behavior has been fixed in LabVIEW 2015! Having the autopreallocate array option checked on an FPGA VI should no longer affect the execution when switched to a Windows target.