10-12-2006 10:25 AM
10-12-2006 10:38 AM - edited 10-12-2006 10:38 AM
Message Edited by NahoY on 10-12-2006 10:39 AM
10-12-2006 10:56 AM
10-13-2006 11:11 AM
Thank you so much for your answer. I can do so much more now. I have written all my config files, and can update combo boxes using StringsAndValues[]. But since I have more than 20 combo boxes, is there a way to update them all in a FOR loop?
Each section in my config file corresponds to a single combo box. I'm pretty sure I could do what I want if I could edit the name of the combo box that I want to modify. I looked in the property node options but did not find anything.
Also, when I update my combobox with the same information as what was previously in it, I get the following error, "You cannot assign the same value to two or more strings in a ring or combo box control". I tried using the re-initialize method without any success. My current way of doing it is read StringsAndValues[], keep the first one (which is empty) and re-write StringsAndValues[] to 're-initialize' it . I can then fill the box with whatever I want. I am sure there is a much easier way to do this.
Thanks
10-13-2006 11:46 AM
I had another idea. Would it be possible to create combo boxes while my VI is running?
Thanks
10-16-2006 02:28 PM
Anybody? Your input means a lot to me!
Thanks
10-16-2006 10:15 PM
Hi Eudaemonic,
Could you please post your VI so I can see what you have done so far?
10-17-2006 02:15 PM - edited 10-17-2006 02:15 PM
Thank you for your help Kalin,
Here is my test VI for editing comboboxes, along with an example configuration file containing different menu choices. It is very basic as this is a trial and error learning platform.
Thanks again for your input.
Fred
Message Edited by Eudaemonic on 10-17-2006 02:16 PM
10-19-2006 06:57 PM
Fred,
I ran your example but it did not work. It did not populate the comboboxes. Was it working for you?
10-19-2006 07:00 PM