LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

To make a control that can be initilaized during runtime

Solved!
Go to solution

 

In case of an enum or a ring constatnt. The options to be selected need to be listed during programming

 

Can the option to be selected be done during run time.

I have an array, and i can route the 1st column to be the values in the drop down menu, need to select any one during runtime.

 

Please help.

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 1 of 5
(2,478 Views)

Enums can't be defined at runtime, but Ring controls can.

 

Write to the Strings and Values property node to populate the ring control.  To set it to a specific entry, then write to the Value property node.

0 Kudos
Message 2 of 5
(2,476 Views)

 

Thank you for your reply.

 

I am attaching a zip file which has a sample program which i made.

Here the only thing i need is that, i want each element in the array to be selected by a drop down menu.

 

I tried combo box as in attached file, but that didt work.

 

During the file excution the "pass folder is to be pased in the C drive"

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 3 of 5
(2,463 Views)
Solution
Accepted by topic author Grugh_Mike

Hi Grugh Mike,

 

I am not sure how to do it with an array of combo boxes but if the number of rows in your file is limited then you can try the attached example.


Regards,

Nitzz

(Give kudos to good Answers and Mark it as a solution if your problem is Solved;)) 

0 Kudos
Message 4 of 5
(2,460 Views)

Thank You very much for the reply.

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 5 of 5
(2,440 Views)