LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

edit combo box array

Hello,

I am trying to add a value to a specific combo box in a 2d array.
lets say i have a 2d array of combo boxes, how can i add a value to the combo box in row 3 and colomn 4?

Thank.
0 Kudos
Message 1 of 31
(3,791 Views)
Hi Alvarion_…,
what do you mean with "add a value to the combo box in row 3 and colomn 4"? Do you want to change the value? Remember you can only define one item list! You can´t have in one element other entires than in another one.

Mike
0 Kudos
Message 2 of 31
(3,786 Views)
Yes Mike the second i got the mail indicating the replay from ni was the second i understood that issu....is there another way to have a couple of  combo boxes or rings  with diffrent lists?
0 Kudos
Message 3 of 31
(3,782 Views)
Hi Alvarion_…,
what is the purpose behind this? What do you want to make with the different combobox items?
Mike
0 Kudos
Message 4 of 31
(3,778 Views)
Hey,

I have an ini file with diffrent tests and every test has a diffrent settings, for example:

[HO type_Intra ASN Handover]
Type=INI VI
Delay between H.O=5,2
Trafic type=Smartbits,Ping
Number of Handover=xxx
[HO type_Inter ASN Handover]
Type=INI VI
Deleay between H.O=5,2
Trafic type=Smartbits,Ping
Number of Handover=xxx

The idea is that for example delay between handovers is a combo box parameter with values of 5,2 and trafic type is also a combo box parameter but with values smartbit or ping and the number of handovers is a regular string how can i diplay those parameter for the user ? there can be more then 3 parameter...is there a solution ?
0 Kudos
Message 5 of 31
(3,775 Views)
Hi Alvarion_…,
you can add all your values to one combobox, and depending on the selection you can transform the 5.2 string to a number. Why do you need different combo boxes?

Mike
0 Kudos
Message 6 of 31
(3,773 Views)
Its one solution but i dont want to create a situation in which the user can choose a "bad" parameter for a value, in your solution the user will be able to insert 5 as an input in the traffic type box and this is a problem, i need the user to have only the "right" parameters in  his choise.
0 Kudos
Message 7 of 31
(3,768 Views)
Hi Alvarion_…,
i understand, a solution could be to change this values from step to step. Use a property node and select "Strings[]". You can connect an array with all values you currently want to present to the user and which can than be selected.

Mike
0 Kudos
Message 8 of 31
(3,764 Views)
But the user will see them all as a table...he will not see each parameter is a diffrent time.
see the picture.
0 Kudos
Message 9 of 31
(3,758 Views)
Hi Alvarion_…,
why do you need your combobox in an array? You can use three single comboboxes.

Mike
0 Kudos
Message 10 of 31
(3,747 Views)