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,440 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,432 Views)
Do you mean I have to send each reference of control in Cluster?
0 Kudos
Message 3 of 4
(4,430 Views)

No.

 

Like this.

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