get data from barcode reader using usb interface

6 views (last 30 days)
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.

Answers (1)

Star Strider
Star Strider on 16 May 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 Comments
hoang hoang
hoang hoang on 17 May 2015
thank you very much for your answer, i will try it.
Star Strider
Star Strider on 17 May 2015
My pleasure!
Please let me know how it goes.

Sign in to comment.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!