LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acessing clusters of clusters

Hi,

As shown in the attached .vi I have a cluster (Channels) which consists of several identical clusters (identical to ChannelElement).

Now, what I want to do is to:
(1) Extract the individual clusters from Channels (activated by a mouse click). I have only succeded in doing this by getting out a variant (Value). How do I get a cluster output which can be shown in ChannelElement?

(2) I'd also like to be able to change the values of each cluster element in Channels in a for loop. However, this should be easy once I get the right reference type?

Thanks in advance!
Martin
0 Kudos
Message 1 of 2
(2,283 Views)
Create a reference of the channel element and connect it to more specific class function (instead of a general cluster reference) to get "channel element" indicator data type instead of variant.

The way yo have written the code will update the channel element with each cluster element values, however you can see only the last because execution is fast.
0 Kudos
Message 2 of 2
(2,283 Views)