在单个时间点单个文本框控件中处理从多个条形码扫描仪设备读取多个条形码。 [英] Handle reading multiple barcode from multiple barcode scanner device in single textbox control on single point of time.

查看:117
本文介绍了在单个时间点单个文本框控件中处理从多个条形码扫描仪设备读取多个条形码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在文本框控件中的某个时间点读取多个条形码扫描仪设备的条形码。应该一次读取一个扫描仪,直到其他扫描仪应该在队列中或等待,搜索很多没有'得到任何令人满意的解决方案,请你告诉我。



我尝试过:



i试图在一个时间点(同时)避免来自两个条形码扫描仪设备的折叠条形码。仍然没有工作。

i want to read barcode from multiple barcode scanner devices at a point of time in a text box control ,.should be reading one scanner at a time till then other scanner should be in a queue or waiting ,searched a lot didn't get any satisfying solution ,can you please let me know .

What I have tried:

i had tried to avoid collapse barcode coming from two barcode scanner devices on a single point of time(simultaneously). still not working.

推荐答案

我使用的条形码扫描仪,表现得像键盘,当你按下键并识别条形码时,他们会向任何人发送按键此时具有焦点的输入能力场。这可能是一张EXCEL表,一个应用程序或一个文本编辑器。

如果连接两个,你所描述的场景将会发生,这取决于击键可能混合的时间,因为无法确定哪个密钥来自哪个扫描仪。

使用扫描仪,每个PC只需连接一个,这是主要的用例。

或者你需要找到一个可以控制的扫描仪,例如显示为USB HID设备,然后您可以编写一个HID驱动程序或应用程序,可以直接单独寻址每个扫描仪,然后根据需要指导数据。
The barcode scanners I worked with, behaved like a keyboard, when you pressed the key and they recognized a barcode, they would send keystrokes to any input capable field that had the focus at this time. This could be an EXCEL sheet, an application or a text editor.
With two connected, the scenario you describe would be happening, depending on the timing the keystrokes could be intermixed as there is no way to determine, which key originated from which scanner.
Using your scanners, you would need to connect only one per PC, which is the main use case.
Or you would need to find a scanner that you can control, e.g. that shows up as a USB HID device and then you can write a HID driver or application that can directly address each scanner individually and then direct the data as necessary.


这篇关于在单个时间点单个文本框控件中处理从多个条形码扫描仪设备读取多个条形码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆