09-24-2009 08:45 AM - edited 09-24-2009 08:51 AM
Something wierd is going on. I tried several things that made it work, but they don't make sense (as was stated previously).
09-24-2009 08:53 AM
09-24-2009 09:25 AM
vt92 wrote:Something wierd is going on. I tried several things that made it work, but they don't make sense (as was stated previously).
There is indeed something weird going on. I was incorrect when I said earlier that it was working correctly in 8.2. The issue does indeed seem to be that the data is not being copied. When you do something as trivial as multiplying the array by 1 before wiring it to the Bundle by Name element that forces a memory copy, and that's why that works. I can say that it does work correctly in LabVIEW 2009.
09-24-2009 09:59 AM - edited 09-24-2009 10:02 AM
09-24-2009 12:25 PM
Ravens Fan wrote:LabVIEW 8.5 introduced the "Always Copy" primitive under Application Control >> Memory Control. Does using that solve the problem as well?
Yes, that also works.
I noticed that the original version of his vi doesn't show any memory allocation (when using 'Show Buffer Allocation') between the unbundle and the bundle cluster.
09-24-2009 12:33 PM
09-28-2009 11:23 AM
09-28-2009 01:46 PM
09-29-2009 11:42 AM
Broken Arrow wrote:
Sounds super. But I agree, the Waveform sub-cluster is not complicated or large. Maybe it's a compiler issue.
Otherwise known as a bug as in CAR 131499
that is listed in thebug fixes for LV 2009
Andrey reported it in this thread.
Ben