Serin data from a barcode scanner
Eric R
Posts: 225
Just in the initial stages planning a project using serial data from a barcode scanner. I am lucky enough to have control of the·data for a clean six digit output. My plans are to serin the data (ie 123456) and compare it to a database. If a barcode passes that matches a code in the database, I will then activate a series of air solenoids to acomplish a task. If the barcode does not match the database then the item will continue down the line.
My question is, would this data be best handled with a series of "IF=" statements of a "lookdown" table? I figure that I will have less than a dozen codes in this database but will need to update it as time goes on. Is there a better way to handle this data?
My question is, would this data be best handled with a series of "IF=" statements of a "lookdown" table? I figure that I will have less than a dozen codes in this database but will need to update it as time goes on. Is there a better way to handle this data?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office