LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

adding combo box values during run time

Hi!

1) I would like to have few similar combo box controls, for which user could add item values, for example channel names (strings). When user has added new value to one combo, then the same value should be available also on the other combos. Only new values should be added.

2) Then the values should be saved to same file. Next time when the VI will be started, it should read the available values from file.

I have tried with different ways, but no, it's looks like I have stucked to this problem. So, If somebody could give me, for example short code, I would appreciate it very much

Best regards,

Janne
0 Kudos
Message 1 of 3
(2,702 Views)
Hello Janne,

I�ve included an example program that does what you are describing. I am not sure what version of LabVIEW you are using; the example is written in version 7.0. Let me know if you need an earlier version. Please let me know if this works for you, or if some modifications need to be made for your particular situation.

Have a nice day!

Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
Message 2 of 3
(2,702 Views)
Thank for you help Robert!

After small modifications the code was perfect for me.

Best regards,

Janne
0 Kudos
Message 3 of 3
(2,702 Views)