LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare an display message accordingly

Hi
I am doing class project which is inventory iterm location finder using barcode.  I having the problem at the part of displaying the message (item's location) from the item 's barcode. I have attached the VI.  If you look at the VI, from the matched barcode or index I want to display the item location eg. role, level, section.  I can't just cannect the message directly to each matched barcode because there will be thousand of barcode.  What is the efficent way to display the item location if we add more barcode in the future.

I have tyied to use case structure but it only take one number (case) at the time.

Please help,

Thanks

0 Kudos
Message 1 of 2
(2,587 Views)
I would suggest that you keep the inventory information in a database (preferably) or some other external file. With a database, you would perform a simple query to return all of the data based on the barcode. NI has the database connectivity toolkit that makes the job pretty simple. If you need to save some money and can get familiar with SQL you can try LabSQL. Keeping the information in some other external file such as Excel or delimited text can also be done but that solution generally requires you to load the entire file into memory and then use the search array functions. Unless you use some sort of external file, there is no way to keep from modifying the program every time a new item needs to be added. All of the commercial inventory control systems that I've ever heard of use a database.
0 Kudos
Message 2 of 2
(2,574 Views)