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

Different References to same Object

Hello!
 
I have noticed, that one can create different references to the same object on the front panel. The attached vi demonstrates that, by having one reference created by a reference node, the other be getting references to all object on the frontpanel. As the example shows (by type-casting to U32-numbers) the references are not equal, however they point to the same object. (That they indeed point to the same object can be checked, by using either reference to change the objects properties, so one sees it alwas adresse the string named "test")
 
The question finally is: If one has different references how can one check, if the point to the same object?
 
Thank you for any idea,
 
 Normann Plaß
0 项奖励
1 条消息(共 2 条)
2,842 次查看
The problem is with the Panel>Controls[] property. For the long answer (plus a VI which will allow you to compare), you can go here.
Another answer would be to upgrade to 8.0, where the Equal node compares properly.

___________________
Try to take over the world!
0 项奖励
2 条消息(共 2 条)
2,830 次查看