From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enum string from enum cluster

I have an enum cluster.

Programmatically, I want to write the enum string (corresponding in a value) from the reference of cluster.

Roughly thinking, I got the control[] of the cluster.

But I can't select string[] of a control in for loop.

How can I get the string information of the control from reference of cluster?

(I know I can the string property if I use individual reference. But this requires the same number of references as an input.)

 

labmaster.

Message Edited by labmaster on 06-05-2009 10:36 PM
0 Kudos
Message 1 of 4
(4,101 Views)
The Controls[] property returns generic control references. You need to convert them to a more specific class.
0 Kudos
Message 2 of 4
(4,093 Views)
Do you mean I have to send each reference of control in Cluster?
0 Kudos
Message 3 of 4
(4,091 Views)

No.

 

Like this.

Message Edited by Ravens Fan on 06-06-2009 12:10 AM
0 Kudos
Message 4 of 4
(4,087 Views)