04-11-2014 08:38 PM - edited 04-11-2014 09:04 PM
I met a problem with combox application.
By selecting the combox item name, I wish to get the corresponding values. But always the combo box gives item name, even if I use its property node(value).
LV2012SP1
WT
04-11-2014 09:03 PM - edited 04-11-2014 09:27 PM
Occasionaly, If I uncheck "Allow undefined values at run time" under the combo box propeties "Edit Item" tab, then it output values instead of item names. After this, with "Allow undefined values at run time" checked, it output values, too. Strange behaviour!
This is not always working.
WT
LV2012SP1
04-11-2014 09:42 PM
Attached please find the combox VI. Please take a look to check the problem.
WT
LV2012SP1
04-14-2014 01:33 AM - edited 04-14-2014 01:41 AM
What is the VI supposed to show?
04-14-2014 01:44 AM - edited 04-14-2014 01:44 AM
When you uncheck the box, did you actually define values for your control?
04-14-2014 06:59 AM - edited 04-14-2014 07:00 AM
The VI (string2 and string3) is supposed to show the values which is defined in the item table.
I found the solution. To achieve this purpose, one have to use the Text.text property node to choose the item in the combo box. With a string given to the combo box, it doesn't work. This seems to be contrary to one's general thought.