Spritutu

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年5月1日

摘要: class CSerialPort{ public: // contruction and destruction CSerialPort(); virtual ... 阅读全文
posted @ 2014-05-01 22:07 Spritutu 阅读(235) 评论(0) 推荐(0)

摘要: http://msdn.microsoft.com/en-us/library/ms810467.aspxAllen Denver Microsoft Windows Developer SupportDecember 11, 1995Applies to: Microsoft® Win32® ... 阅读全文
posted @ 2014-05-01 21:45 Spritutu 阅读(250) 评论(0) 推荐(0)

摘要: http://www.vckbase.com/index.php/wv/1439在工业控制中,工控机(一般都基于Windows平台)经常需要与智能仪表通过串口进行通信。串口通信方便易行,应用广泛。一般情况下,工控机和各智能仪表通过RS485总线进行通信。RS485的通信方式是半双工的,只能由作为主节... 阅读全文
posted @ 2014-05-01 18:19 Spritutu 阅读(236) 评论(0) 推荐(0)

摘要: http://www.codeguru.com/cpp/i-n/network/serialcommunications/article.php/c2483/A-communication-class-for-serial-port.htmIn the newgroups there are man... 阅读全文
posted @ 2014-05-01 16:39 Spritutu 阅读(215) 评论(0) 推荐(0)

摘要: http://www.gjwtech.com/scomm/sc2vc6multithreadapp.htm1 概述 在现代的各种实时监控系统和通信系统中,在Windows 9X/NT下利用VC++对RS-232串口编程是常用的手段。Windows 9X/NT是抢先式的多任务操作系统,程序对CP... 阅读全文
posted @ 2014-05-01 16:11 Spritutu 阅读(426) 评论(0) 推荐(0)

摘要: http://www.gjwtech.com/scomm/sc2win32serialprog.htm一、基本知识 Win32下串口通信与16位串口通信有很大的区别。在Win32下,可以使用两种编程方式实现串口通信,其一是调用的Windows的API函数,其二是使用ActiveX控件。使用API... 阅读全文
posted @ 2014-05-01 14:32 Spritutu 阅读(323) 评论(0) 推荐(0)