为什么我得到输入(COM)? [英] Why I am getting wriong input (COM)?
本文介绍了为什么我得到输入(COM)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Guys,
我想阅读 PrehKeyTec阅读器。
在我正在阅读的应用程序中,输入信息使用的是SerialPort类。
当我读到卡片并且输出进入垃圾输入时出现问题:
?? x ?????????????????牛gvozovgvoz〜ģ???? {??? Wr的Oz_gq ZGU ?????ö|??????盎司Δ p绿}????\_ OS 12 O 40〜p ^? \ gv?q
哪里似乎有问题?
解决方案
< blockquote>您应该查看设备文档以便:
- 正确设置串行通信参数(速度,奇偶校验位......)。
- 了解通信协议。
Hello Guys,
I am tring to read the information from PrehKeyTec Reader.
In the application that I am reading the input information is using the SerialPort Class.
The problem comes when I read the card and the output come in garbage input :
??x???????p'p\gyG:Ox?gvozovgvoz?~G????{??WrOz_gqzGu????O|??OzpG}\_os??O~p^\gv?q
Where seems to be the problem ?
解决方案
You should check out the device documentation in order to:
- Set properly the serial communication parameters (speed, parity bits...).
- Understand the communication protocol.
这篇关于为什么我得到输入(COM)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文