C# 中的条码扫描应用程序
我正在开发一个应用程序,需要扫描条形码并将其与数据库中存储的代码进行匹配。我的条形码扫描仪是无线的。我编写了一些蓝牙设备可以通信的代码。它正在创建连接,但问题是我如何接收数据。我们将在一台电脑上使用多个条码扫描仪。有人有什么建议吗?
是否可以让多个蓝牙扫描仪同时发送一份数据?我如何区分它们?
I am developing an application where it is required to scan the barcode and match it to the code stored in the database. My barcode scanner is cordless. I have written some code by which bluetooth devices can communicate. It's working for creating connection, but the problem is how do I receive the data. We are going to use multiple barcode scanners to one pc. Does anyone have any suggestions?
Is it possible to have multiple bluetooth scanners sending one data at the same time? How do I differentiate each of them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用过许多有线和无线扫描仪,每一个都不需要直接连接,而是模拟键盘按下。
有些通过 USB,有些通过串行或菊花链连接到 PS2 端口。有些需要安装驱动程序,有些是即插即用的,但它们都模拟按键。
检查扫描仪手册,其供应商的网站应该有最新的。
I have worked with many wired and wireless scanners, and every single one did not need to be connected to directly, instead they all emulate keyboard presses.
Some over USB, others serial, or daisy-chaining into the PS2 port. Some needed their drivers installed, others are plug-and-play, but they all emulate key presses.
Check the scanner manual, it's vendor's site should have the latest.