LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compiler.cpp line 1169

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

 

0 Kudos
Message 1 of 8
(2,812 Views)

Here is the problem subVI.

 

0 Kudos
Message 2 of 8
(2,809 Views)

Here is a missing subVI.

 

0 Kudos
Message 3 of 8
(2,802 Views)

Loads fine for me in Windows, LabVIEW 2012SP1. Here it is saved in that version, maybe it will load for you.

0 Kudos
Message 4 of 8
(2,801 Views)

@JimWB wrote:

Here is a missing subVI.


I recommend replacing this function with the builtin "In Range and Coerce."

0 Kudos
Message 5 of 8
(2,799 Views)

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.

 

0 Kudos
Message 6 of 8
(2,792 Views)

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.

Download All
0 Kudos
Message 7 of 8
(2,788 Views)

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.

 

0 Kudos
Message 8 of 8
(2,778 Views)