LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade LV 5.1 --- 6.1 problem

Hi! I have problem upgrading a VI from LabView 5.1 to LabView 6.1 under
Win2K.
This is rather simple VI which uses DLL for calculations. Outcome from DLL
in VI, compiled in 6.1 is different from 5.1.
Occasionally I receive messages:
"Failure: "datasupp.cpp", line 646"
Any ideas what this problem is?



here is this VI in LV 6.1.
www.mpc.uni-duesseldorf.de/vi.zip
(-510KB)
0 Kudos
Message 1 of 3
(2,593 Views)
This error typically occurs with arrays and charts (passing arrays to the chart). I would suggest building the DLL to display its Front Panel when called and see how far it gets before the error occurs. You could place boolean indicators on the front which tell you when you have reached certain points in your DLL. Then you will know where it occurs. From there, you can probably determine the way. Check for things like writing to an empty array or something like that. I hope this gets you started!
J.R. Allen
0 Kudos
Message 2 of 3
(2,592 Views)
I hit this error (datasupp.c, line 646) while developing code for a CIN node. I stumbled across a fix for my problem and am posting it here in case anyone else runs across the same problem.

The error was intermittent, but I was able to isolate it to a call to NumericArrayResize. I was trying to resize an array of double-precision floats, but was passing it the wrong typeCode (iL instead of fD). Once I fixed the typeCode, the error went away.

Hope that helps.
0 Kudos
Message 3 of 3
(2,577 Views)