LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Action engine cluster loses data

Solved!
Go to solution

Something wierd is going on.  I tried several things that made it work, but they don't make sense (as was stated previously).

 

no workly.PNG

no data

works_also.PNG

correct

worky.PNG

also correct

 

Message Edited by vt92 on 09-24-2009 08:51 AM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 11 of 19
(2,183 Views)
NI gurus: Is it possible that the data is not being copied into memory properly? 
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 12 of 19
(2,175 Views)

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. 

0 Kudos
Message 13 of 19
(2,165 Views)

LabVIEW 8.5 introduced the "Always Copy" primitive under Application Control >> Memory Control.  Does using that solve the problem as well?

 

Message Edited by Ravens Fan on 09-24-2009 11:02 AM
Message 14 of 19
(2,157 Views)

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.

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 15 of 19
(2,144 Views)
0 Kudos
Message 16 of 19
(2,136 Views)
I followed your link and found the text "super cluster" but I don't think I really understand it's definition.  I have AEs with more complex and larger clusters that work fine.  Having left out the waveform from the cluster as my final solution, maybe I have unknowingly moved from a super cluster to a non-super cluster.
0 Kudos
Message 17 of 19
(2,088 Views)
Sounds super. But I agree, the Waveform sub-cluster is not complicated or large. Maybe it's a compiler issue.
Richard






0 Kudos
Message 18 of 19
(2,080 Views)
Solution
Accepted by kc64

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 19 of 19
(2,057 Views)