LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Combo Box Input

Hey, I'm trying to save a user's name in a combo box so that the user can just selet their name from the drop down menu next time they use the program. Is the a way to edit the attached VI such that multiple entries of the same name (array value) are not saved in the array/Combo box??
0 Kudos
Message 1 of 3
(3,247 Views)

Hi WEvans,

this forum is dedicated to CVI: you will get better and quicker respenses in the LabVIEW forum. Anyway, in my opinion you should post-process your strings [ ] array after the while loop and before passing it back to the combo box to remove duplicated elements (you could for example sort the array and then scan it in a for loop or a while loop to search for consecutive identical elements and remove one of them).



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,229 Views)
I did a variation of your suggestion. Appreciate the help.
0 Kudos
Message 3 of 3
(3,190 Views)