需要帮助才能与串行端口连接 [英] Need Help for interfacing with serial ports
本文介绍了需要帮助才能与串行端口连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI有人可以给我一个用于连接串口的示例脚本。
我目前正在做论文,我需要建立一个RFID阅读器和Visual Basic的连接。
HI could anyone give me a sample script for connecting with a serial port.
I am currently doing a thesis and I need to estblish a connection ofRFID reader and the Visual basic.
推荐答案
HI有人可以给我一个连接串口的示例脚本。
我是目前正在做论文,我需要建立一个RFID阅读器和Visual Basic的连接。
HI could anyone give me a sample script for connecting with a serial port.
I am currently doing a thesis and I need to estblish a connection ofRFID reader and the Visual basic.
用于通信只有四个参数boudrate,parity,stopbit,comport
检查h / w的详细信息使用mscomm ctrl和做这个工作使用oncomm事件发生在通讯上发生的活动
尝试
for communication there r just four parametrs boudrate,parity,stopbit ,comport
check the details of the h/w use mscomm ctrl and do the job use oncomm event to tress activity happened on comm ctrl
try it
但我不知道如何使用这些参数,你能给出吗?我是一些示例编程脚本。
But I don''t know how to use those parameters, could you give me some sample programming script.
但我不知道如何使用这些参数,你能不能给我一些示例编程脚本。
But I don''t know how to use those parameters, could you give me some sample programming script.
展开 | 选择 < span class =codeDivider> | Wrap | 行号
这篇关于需要帮助才能与串行端口连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文