08-05-2013 12:22 PM
I am unable to load a LabVIEW 6.0.2 VI in LabVIEW 2012 SP1 (or in SP1 f3).
I get a failure in compiler.cpp: DWarn 0xA291168F: Error: generated insane Intermediate Representation
The error is LabVIEW is 'LabVIEW needs more memory to compile this VI'.
The VI operates on Chart data (array of cluster pairs) with several consecutive For loops to perform the calculations.
There are NO chart controls or indicators in this VI --- just array and cluster inputs and outputs.
Any idea how I can get around this problem with compiler.cpp?
NI Software : LabVIEW version 12.0.1f3
OS : MacOSX
08-05-2013 12:34 PM
Here is the problem subVI.
08-05-2013 12:44 PM
Here is a missing subVI.
08-05-2013 12:44 PM
Loads fine for me in Windows, LabVIEW 2012SP1. Here it is saved in that version, maybe it will load for you.
08-05-2013 12:46 PM
@JimWB wrote:
Here is a missing subVI.
I recommend replacing this function with the builtin "In Range and Coerce."
08-05-2013 12:51 PM
No, I still get the same error when I load your version.
"cannot execution order sort a diagram that has cycles thrown during 'CommonSubexpressionElimination'."
DWarn 0xA291168F: Error: generated insane Intermediate Representation
Must be a problem with LabVIEW MacOSX.
08-05-2013 01:03 PM - edited 08-05-2013 01:03 PM
Well, just for fun, here's the contents of that VI copied into a new VI. I made two changes: replaced the subVI with In Range and Coerce, and removed a front panel cluster that was acting only as a type definition for a bundle by name, then replaced Bundle by Name with Bundle. I'm also attaching that code as a snippet. Maybe one or the other will open.
08-05-2013 01:17 PM
None of those changes solve the compile problem. They are all good ideas.
The subVI remains broken and LabVIEW continues to create failure log files.