From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-24-2014 03:30 AM
Hi
Could someone help me please. My problem is, I have 2 comboboxes and when I select an item from the dropdown list of my 1st combobox, the items in the dropdown list of 2nd combox must change accoring to the item selected in the 1st combobox
For example if I select TLC2274 in first combobox it should show OP-1, OP-2, OP-3 in the 2nd combox and if I select LM2903 it should show OP-1, OP-2.
The items in the 1st combobox are .csv files which contain pin numbers and pin definitions of opamp. Thankyou in advance
Regards
Pratheek
Solved! Go to Solution.
04-24-2014 03:58 AM
You can use the 'Strings []' property, in a property node, to programatically define the content of a combo box.
04-24-2014 04:05 AM
voila:
04-24-2014 04:12 AM - edited 04-24-2014 04:14 AM
Hi Phil_
I am fairly new to Labview.....Could you please explain in detail or post any example VI's if you have any........ I am using string property node but how could i get the values in my 2nd combox changing according to the items selected in the 1st combobox using string property node ? could you please give me few suggestions....
04-24-2014 04:25 AM
I am unable to open it....I am using Labview 10. Could you please save it for previous version and post it....
Regards
Pratheek
04-24-2014 04:27 AM
See attached:
04-24-2014 04:30 AM
Thanks alot.....
04-24-2014 08:00 AM
Hi Phil_
I have a problem.....The items in my 1st combobox contains the data as in the attachment below. it is a .csv file....... in the 2nd combobox i need only o/p-1 and o/p-2 to be shown......... So in the case structure, i need to read the .csv file, compare the data and then wire it to the string[]. Is this the correct procedure ? if not could you please tell me how could i do it
Regards
Pratheek
04-24-2014 08:07 AM
That sounds reasonable to me.
Try it out and see if it works! If it dosen't post your code so we can help.
The 'read from spreadsheet' VI in the file I/O section of the Programming pallette, would be useful to read your .csv.
04-24-2014 08:27 AM
Thanks alot........ i'll get back to you soon....