LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ring combo box

Hi,

 

I've search high and low for this one-I need to create combo box on a ring control where the user can manually input the values. I have over 3000 items to put in the ring, and it is simply ridiculous to try and search a pull down menu. It is such a simple thing to have but I can't find it anywhere

 

I've messed around with custom controls, but there doesnt seem to be a way to change out actual components. Every time I change out the box, it turns it into a string control. I need the functionality of a text input with a numeric output because I am using the numeric output to index strings on a .csv file

 

Thanks,

 

Ryan

0 Kudos
Message 1 of 9
(3,199 Views)

And also-can ring's have text string inputs? It would be such a useful function

0 Kudos
Message 2 of 9
(3,197 Views)

Ryan,

 

I think what you want to use is called a hot ring control, and CVI does have one built into the custom controls library. You can see the CVI reference to it in the help here: http://zone.ni.com/reference/en-XX/help/370051T-01/toolslib/toolslibhot_ring_control/

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

 

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 9
(3,166 Views)

Thanks-but is there any way to get this without dropping a few thousand dollars for CVI?

0 Kudos
Message 4 of 9
(3,152 Views)

Hey Ryan,

 

I'm not sure what software you are currently using, but I believe Kyle posted that because this thread was in the LabWindows/CVI Discussion Forum.

 

Perhaps if you do not have or plan to purchase LabWindows/CVI, your question would be answered more efficiently in the appropriate discussion board.

Regards,
Jake G.
National Instruments
Applications Engineer
0 Kudos
Message 5 of 9
(3,132 Views)

I was pretty sure I posted it elsewhere, maybe it got moved?

 

Either way, If a mod could move it that would be great.

0 Kudos
Message 6 of 9
(3,128 Views)

Ryan,

 

What development environment and language are you using? There is no indication of where the mods should move it to. 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 7 of 9
(3,116 Views)

My mistake. This would be labview.

0 Kudos
Message 8 of 9
(3,097 Views)

Ryan,

 

If we want the combo box functionality as an enum or ring control, its actually pretty easy to create using the combo box and a couple property nodes. There are two pieces of information in a combo box, one is the string, one is the value. Typically these are the same thing, but they dont have to be. The string is what you see, the value is what you read it as. If you set the string from your information and dictate the value as the desired index, then convert the values to an int, you should be able to get the functionality of a searchable enum/ring. 

 

I have uploaded an example which shows this to the community here: https://decibel.ni.com/content/docs/DOC-18384

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 9 of 9
(3,075 Views)