LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drop-down box used for searching through an Excel file

I hope this problem isn't too difficult, but basically I have a 1D array in a *.csv file (need.csv) and I'm dumping its contents into an array which I'm converting to a drop-down menu using the Ring function.  This is done sucessfully.
 
I also have a 2D array in a *.csv file (delivered.csv) that will be searched through when a particular value is selected from the drop-down menu. 
 
The problem I am having is the only value it's looking up is the first element in the drop down array.  If I select any other element in the drop-down menu, LabVIEW doesn't search and return the information corresponding to element i looked up.
 
If it helps, I modified the example, Search 2D Array.vi, created by tst. 
 
I am attaching my VI, as well as files used for my VI.  They are *.xls files, so you will have to save them as *.csv files because this forum doesn't allow me to attach *.csv files.
 
If you need clarification, please let me know.  I'll appreciate ANY help.
Thanks 🙂 ,
Amal Patel
Download All
0 Kudos
Message 1 of 4
(2,940 Views)
Try this and see if it will work for you.



Joe.
"NOTHING IS EVER EASY"
Message 2 of 4
(2,919 Views)

This works beautifully!!!   Thank you very much!!!

Amal Patel
0 Kudos
Message 3 of 4
(2,915 Views)
We say thank you around here by giving good ratings.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 4
(2,910 Views)