LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to connect a cluster of control ref to the Register for Events node

Hi all,

 

I have to check for value change of a clusters containing control refnums. For this I connect this cluster of controls refnums to the Register Events node. But it will not allow me to do so for certain clusters. I have attached 2 such clusters. Perhaps I might be missing something obvious..Any help will be greatly appreciated.

 

Thanks,

Priyadarsini

Download All
0 Kudos
Message 1 of 5
(2,884 Views)

You can only connect a reference itself to the event registration node.
Do you want to check for every of the referenced controls?

To that you can use the following code construct:

 

Ton

 

Ton

 

Message Edited by TCPlomp on 14-10-2009 03:24 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 5
(2,878 Views)
I would like to make clear that the cluster has refnums of different data type and also some strict and some non-strict. So it is not possible to wire that to Cluster to Array node. But I think that this is not a problem because there are some other similar clusters which could be connected to the Register for Events node without any error.
0 Kudos
Message 3 of 5
(2,853 Views)

Are you sure? What do you really want to do?

I think the register for event structure expects an event refnum. Try "Create user envent".

example.JPG

0 Kudos
Message 4 of 5
(2,847 Views)
ok in addition to the user events I have to wire the refnums of certain controls to check for their value change in some other VIs. For this purpose I group similar controls refnum as clusters and wire them. It was working fine for most of the clusters but the 2 which I have attached earlier. Now attached is the cluster which will wire properly to the Register for Events node.
0 Kudos
Message 5 of 5
(2,845 Views)