在Wpf窗口中从RS232扫描仪获取输入 [英] Getting inputs from RS232 Scanner in the Wpf Window
本文介绍了在Wpf窗口中从RS232扫描仪获取输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
我想接收来自串行(RS232)扫描仪的输入,并使用c#将其显示在wpf窗口的文本框中.
输入必须没有前缀.
HI ,
i want to receive input form a serial(RS232) scanner and display it in the textbox in the wpf window using c# .
the input has to be without the prefixes .
推荐答案
(条形码/RFID)扫描仪与RS232连接时,通常会发送模拟键盘的数据.那你的问题在哪里呢?将焦点设置到您的文本框,然后扫描!
就前缀而言,这是扫描仪的设置.阅读其手册.
(Barcode/RFID) scanners connected to a RS232 often send their data emulating a keyboard. So where''s your problem? Set the focus to your textbox, and scan!
As far as prefixes are concerned, that''s a setting of your scanner. Read its manual.
这篇关于在Wpf窗口中从RS232扫描仪获取输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文