Dear NI
Attached please find files that will show indication of a compile problem in LV PDA.
Crash1.vi (will crash)
and
Crash2.vi (problem fixed)
Please create a build of the two files, then run the builded files. Both will execute just fine. Then hit button "1" and button "2" on the front panel of the VI's, Crash1.vi will stop executing whereas Crash2.vi will continue. The funny thing is that both case 1 and case 2 needs to be "active" for this bug to show, enabling/disabling just one of them will not produce the problem. Sometimes this problem produces the error "unable to allocate memory error 170652002", but details regarding this I can not give.
This code ran fine in LV 7.1, but fails to run in LV 8.2, it took me almost 2 days to locate this bug, also, I lost a lot of goodwill with a customer in Spain.
While I am at it ; the file :C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\Analysis\6fits.llb\Linear Fit.vi will not run correctly in LV PDA 8.2 (it creates a memory leak) also a lot of other VIs in the math pallette produce similar problems. I dont currently have time to document this.
soren h. jensen
in Barcelona