取消
显示结果 
搜索替代 
您的意思是: 

Action engine cluster loses data

已解决!
转到解答

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 项奖励
11 条消息(共 19 条)
2,512 次查看
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 项奖励
12 条消息(共 19 条)
2,504 次查看

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 项奖励
13 条消息(共 19 条)
2,494 次查看

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
14 条消息(共 19 条)
2,486 次查看

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 项奖励
15 条消息(共 19 条)
2,473 次查看
0 项奖励
16 条消息(共 19 条)
2,465 次查看
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 项奖励
17 条消息(共 19 条)
2,417 次查看
Sounds super. But I agree, the Waveform sub-cluster is not complicated or large. Maybe it's a compiler issue.
Richard






0 项奖励
18 条消息(共 19 条)
2,409 次查看
解答
接受人 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
19 条消息(共 19 条)
2,386 次查看