简体   繁体   English

Windows 10 UWP C#条形码示例看不到扫描仪

[英]Windows 10 UWP C# Barcode Sample does not see scanner

I've been trying to get my scanner to work in this UWP sample, Windows-universal-samples/Samples/BarcodeScanner/cs/ . 我一直在尝试让扫描仪在此UWP示例Windows-universal-samples / Samples / BarcodeScanner / cs /中工作 However, my scanner Honeywell Xenon 1900GHD-2 is not found as a valid scanner. 但是,找不到我的扫描仪Honeywell Xenon 1900GHD-2作为有效的扫描仪。 The project reports "Barcode scanner not found. Please connect a barcode scanner." 该项目报告“找不到条形码扫描仪。请连接条形码扫描仪。”

This particular scanner (Honeywell Xenon 1900G) is listed on the Windows compatibility list , yet doesn't work. Windows 兼容性列表中列出了此特定的扫描仪(Honeywell Xenon 1900G),但不起作用。 I've tried using Honeywell's EZConfig utility to force the scanner into dedicated HID POS mode (I've actually tried all of its available modes) and it makes no difference. 我尝试使用霍尼韦尔(中国)的EZConfig实用程序来强制扫描仪进入专用的HID POS模式(我实际上已经尝试了其所有可用模式),但没有任何区别。

I'm running Windows 10 Anniversary Update, so it should work as noted in the sample project, Windows 10 Version 1703 is the SDK target. 我正在运行Windows 10周年更新,因此它应该按照示例项目中所述运行,Windows 10版本1703是SDK目标。

Any idea why it's not working? 知道为什么它不起作用吗?

I ran into something similar recently, and I found this barcode while going through Honeywell Voyager 1200g manual. 我最近遇到了类似的情况,在浏览Honeywell Voyager 1200g手册时发现了该条形码 After scanning this, the device is being recognized as a POS Barcode Scanner in my Device Manager . 扫描之后,该设备在我的设备管理器中被识别为POS条形码扫描仪。 And the UWP Barcode Sample solution was able to recognize the device as well. 而且UWP条形码示例解决方案也能够识别该设备。 Apart from that, make sure that PointOfService is mentioned in the Device Capabilities in the appxmanifest file. 除此之外,请确保在appxmanifest文件的“设备功能”中提到了PointOfService。

I ended up testing this on a different machine with the newest insider build and it worked correctly. 我最终在具有最新内部人员构建的另一台计算机上对此进行了测试,并且它可以正常工作。 I suspect that installing UPOS 1.12 on my development machine might be what caused this issue. 我怀疑在我的开发计算机上安装UPOS 1.12可能是导致此问题的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM