05-29-2013 01:57 PM
Hello,
I am still very new with using LABVIEW and I have a issue. I am using an excel worksheet with two columns and four rows. In one column I have barcode numbers and in the second I have which sequence tests that the particular barcode has with it. I have it where I get the barcode scanned but what I need help with is having Labview search the excel sheet for a match on the Barcode (From column one) and return back the related test sequence that goes with it ( From Column two). Any suggestions???
Joe
05-29-2013 03:10 PM
05-30-2013 09:32 AM
Thank you for you quick response! I was reading through the discussion you sent me however I need to search for a cell in one cell to determine what cell to read from in the other column. I attached what I have done thus far! I also attached the excel sheet that I am reading from. I search column B for the Barcode and need to send back its corresponding cell in Column C! I can get the program to find the barcode in column B in the excel sheet but I can't get it to show the the corresponding cell in Column C! Any and all help will be appreciated!
Joe
05-30-2013 09:35 AM
05-30-2013 10:06 AM
Sorry!
05-30-2013 11:20 AM
05-30-2013 11:31 AM
Your vi is suffering from a lot of issues, to begin with first put a wait function in the while loop so it doesn't run as fast as possible. You should also have a look at the state machine architecture. Finally, you should open Excel once when you start the vi and quit Excel only when you stop your vi.
Ben64