示例 UWP 应用未找到条码扫描仪

编程入门 行业动态 更新时间:2024-10-28 10:24:38
本文介绍了示例 UWP 应用未找到条码扫描仪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有一台 Honeywell Voyager 9520(型号 - Mk5145-31A38-I),我正试图让它与 VS 代码

条码手册

USB 串口

解决方案

此 GitHub 示例使用 USB POS HID 扫描仪规范.从设备管理器屏幕截图看来,此扫描仪不支持此功能.

<块引用>

除了列出的设备外,您还可以使用来自坚持USB HID POS扫描仪的各种制造商规范.

但是,扫描仪确实会模拟 USB 输入设备(键盘),因此您可以使用普通的 TextBox 来捕获扫描仪输入.

I have a Honeywell Voyager 9520 (Model - Mk5145-31A38-I) which i am trying to make it work with the Sample UWP. I have tried all the modes in the scanner but nothing works. The app doesnt find the barcode at all. I am on Windows 10 and VS2015 professional. I dont understand what is USB HID mode for this scanner. I am new to barcode scanner stuff. Any pointers in making it work would be highly appreciated.

I have downloaded the drivers from the "Software" tab from this Honeywell link

USBSerial.jpg is when i use USB Serial Emulation. USBKey.jpg is when i use USB Keyboard emulation.

USBKey.jpg VS Code

BarCode Manual

USB Serial

解决方案

This GitHub sample uses the USB POS HID Scanner specification. From Device Manager screen capture it looks like this scanner doesn't support this.

In addition to the devices listed, you can use barcode scanners from various manufacturers that adhere to the USB HID POS Scanner specification.

However the scanner does emulate a USB input device (keyboard), so you could use a normal TextBox to capture the scanner input for example.

这篇关于示例 UWP 应用未找到条码扫描仪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-28 09:32:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1171565.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:扫描仪   条码   示例   未找到   UWP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!