get data from barcode reader using usb interface
조회 수: 6 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Star Strider
2015년 5월 16일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!