get data from barcode reader using usb interface

8 visualizzazioni (ultimi 30 giorni)
hoang hoang
hoang hoang il 16 Mag 2015
Commentato: Star Strider il 17 Mag 2015
hi everyone, i'm studying to get data from barcode reader using usb interface. i'm made it work with barcode reader using rs232 interface but with usb i do not know how to do it. can any one made it work with usb interface show me how to do it.
thanks.

Risposte (1)

Star Strider
Star Strider il 16 Mag 2015
When I confronted a similar problem (with a fingertip USB pulse-oximeter) a few years ago, I plugged it in the USB port and then let Windows find the driver. When it did, it configured the USB port as a virtual serial port. With the information Windows provided, I found the manufacturer’s PDF documentation for it that allowed me to write a short MATLAB script to communicate with the device.
I suggest you do the same. There may be only a few manufacturers who produce USB interface chips for such devices, so you may also be able to find ready-to-use MATLAB code that you would only have to modify slightly (if at all) to get it to work with your device.
Of course this applies to Windows, so if you have Linux or an Apple machine, you will have to experiment.
  2 Commenti
hoang hoang
hoang hoang il 17 Mag 2015
thank you very much for your answer, i will try it.
Star Strider
Star Strider il 17 Mag 2015
My pleasure!
Please let me know how it goes.

Accedi per commentare.

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by