找回密码
 立即注册
相关推荐换一批
  1. GB∕T 34428.2-2017 高速公路监控设施通信规程 第2部分:车辆检测器
  2. DGTJ 08-2047-2013 公共建筑通信配套设施设计规范
  3. DB37/T 2143-2012 住宅小区光纤到户通信配套设施设计规范
  4. YD 5178-2009 通信管道人孔和手孔图集
  5. YD 5183-2010 通信工程建设标准体系
  6. YD/T 2014-2009 统一通信业务需求
  7. GXG 75-2-2008 通信建设工程费用定额
  8. DL/T 860.91-2006 变电站通信网络和系统 第9-1部分:特定通信服务映射(SCSM)单向多?
  9. YD 2003-1992 通信设备安装抗震设计暂行规定
  10. SJ 20434-1994 通信电声器件与设备的机械接口
  11. YD/T 814-1996 光缆接头盒
  12. YD 2004-1992 长途通信干线数字复用设备安装工程设计规范
  13. JB/T 10542-2006 低压电器通信规约
  14. MT 211-1990 煤矿通信 检测 控制用电工电子产品 质量检验规则
  15. MT 209-1990 煤矿通信 检测 控制用电工电子产品 通用技术要求
  16. MT 401-1995 煤矿生产调度通信系统通用技术条件
  17. YD/T 1407-2005 互联网交换中心(NAP)互联通信质量技术要求和测试方法
  18. DL/T 5041-1995 火力发电厂厂内通信设计技术规定
  19. YD 5103-2003 通信道路工程施工及验收技术规范(附条文说明)
  20. DL/T 790.41-2002 采用配电线载波的配电自动化 第4部分:数据通信协议 第1篇:通信?
  21. DL/T 860.72-2004 变电站通信网络和系统 第7-2部分:变电站和馈线设备的基本通信结?
  22. DL/T 5189-2004 电力线载波通信设计技术规程
  23. GB 50313-2000 消防通信指挥系统设计规范
communication通信控件the | 企业管理 2022-09-22 197 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
这篇文章详细介绍了VisualC++5.0版中相关通信控件的使用方法,并给出了一个使用该控件编写的简单通用的通信示例程序。
关键字:串行通信通信控件
随着Win95的逐步遍及,程序员们越来越愿意在Win95下编程,而VisualC++正变成首要的开发工具。然而用VC在Win95下开发串行通信程序是程序员们经常会遇到确又令人头痛的一件事,不但要理解很多杂乱的API函数,还要掌握多线程编程。令人高兴的是VisualC++中提供的通信控件帮助我们管理了这一难题,通过对这一控件的准确使用,我们可以轻松地编写出所需的串行通信程序。
下面,我们将联系一个详细的比如来说明。本程序的编程环境是Win95和VisualC++5.0。这个编程示例的功能比较强,它可以由用户选定进行传输的通信端口,并设定这个端口的相关参数,包括波特率、数据位、中止位、奇偶校验和流量控制等。还具有发送数据和接收数据的两层功能。
一.在程序中嵌入通信控件

(This article introduces the use of the relevant communication controls in Visual C   5.0 in detail, and gives a simple and general communication sample program written with this control.
Keywords: serial communication communication control
With the gradual popularization of Win95, programmers are more and more willing to program under Win95, and VisualC   is becoming the primary development tool. However, the use of VC to develop serial communication programs under Win95 is a headache that programmers often encounter, not only to understand a lot of messy API functions, but also to master multi-thread programming. The good news is that the communication control provided in VisualC   helps us manage this difficult problem. Through the accurate use of this control, we can easily write the required serial communication program.
Below, we will link a detailed example to illustrate. The programming environment of this program is Win95 and VisualC  5.0. The function of this programming example is relatively strong, it can be selected by the user to transmit the communication port, and set the relevant parameters of this port, including baud rate, data bits, abort bits, parity and flow control. There are also two layers of functions for sending and receiving data.
1. Embed communication controls in the program)

[下载]15161915247.rar




上一篇:VC环境中调用TeeChart控件实现数据曲线分析
下一篇:一个实时曲线类