LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract the new channel names from a cluster

I have a cluster with 8 dialog rings inside. Those dialog rings can pick from a list of channels that are acquired by the get channel names vi. Once I pick the names on the ring dialog, I want create a new string array in the order of the names in the dialog ring boxes. I am attaching the vi. USING VERSION 5.1 labview.

The problem I am experienceing is that if I do a cluster to array function, the array is filled with numbers instead of the channel names that were picked in the ring dialogs. I have yet to find a solution.

Thanks for any help in advance
Bill
0 Kudos
Message 1 of 6
(3,236 Views)
If you make another property node for the Channels' control, set it to read, and use the Ring Text->Text property, you'll get the dialog ring's value, versus index.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 6
(3,236 Views)
For some reason, I cannot duplicate your answer? Do you mean attribute node of the channel cluster? or copy the 8 ring attributes and change them to read and make a new array that way?
0 Kudos
Message 3 of 6
(3,236 Views)
Can you edit my code and repaste it by chance?
0 Kudos
Message 4 of 6
(3,236 Views)
Whoops, forgot my 5.1 roots. Sorry about that. The feature I referred to came about in LV6. It's a little more annoying in five.

You can, however, use an index array off of the channel names to get something similar. I dusted off my old 486 and attached an example based on yours (I cut off the Get Names, but you'll get the picture:).

Cheers!
~j5


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 5 of 6
(3,236 Views)
Thanks. I appreciate the help 🙂
0 Kudos
Message 6 of 6
(3,236 Views)