登录
首页 » Visual C++ » VC_MFC-Sample1

VC_MFC-Sample1

于 2012-10-11 发布 文件大小:137KB
0 420
下载积分: 1 下载次数: 153

代码说明:

  Microsoft Visual C++ MFC串口通信编程详解,主要介绍了用CreateFile()函数和WriteFile()函数读写串口的实例,以及设置 串口属性的实例. 在工业控制中,工控机(一般都基于 Windows 平台)经常需要与智能仪表通过串口 进行通信.串口通信方便易行,应用广泛. 一般情况下,工控机和各智能仪表通过 RS485 总线进行通信.RS485 的通信方式是 半双工的,只能由作为主节点的工控 PC 机依次轮询网络上的各智能控制单元子节点. 每次通信都是由 PC 机通过串口向智能控制单元发布命令,智能控制单元在接收到正 确的命令后作出应答. (Microsoft Visual C++ MFC serial communication programming explain CreateFile () and WriteFile () function to read and write the serial port of the instance, and set the serial port attribute instance in industrial control, IPC (generally based on the Windows platform) often need to communicate with the smart meter through the serial port serial communication easy and widely used normal circumstances, the IPC and intelligent instrument through RS485 communication RS485 communication is half-duplex, only as the primary node industrial PC turn polling network intelligent control unit child nodes. every communication from a PC via the serial port to issue commands to the intelligent control unit, intelligent control unit receives the correct command response.)

文件列表:

VC_MFC-Sample1.pdf,149557,2012-10-03

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 语音电话
    一个关于语音电话的程序( About pronunciation telephone procedure )
    2020-11-21 12:19:35下载
    积分:1
  • ModScan32-1
    用于监控PLC,针对的是modbus协议(monitoring PLC with modbus protocol)
    2013-10-21 12:50:17下载
    积分:1
  • CRC
    Sample code in VB.NET for calculate and check CRC (Modbus specification). Supported both string format (like MSComm) and bytes array(like DCB).
    2010-03-10 23:25:16下载
    积分:1
  • GPRS数据中心源代码
    说明:  GpRS数据中心代码,基本上实现了数据中心的大部分功能(GpRS data center code, basically realize the majority of the data center functions)
    2006-02-19 15:11:52下载
    积分:1
  • jabba_0.9.2src
    Jabba是一个非常好的Jabber客户端,使用的Visual C++平台编写,可以在Jabba的基础上快速开发Jabber应用程序。(Jabba is a very good Jabber client, use Visual C++ Platform preparation, you can Jabba the basis for rapid development of Jabber applications.)
    2007-11-26 14:50:54下载
    积分:1
  • W5100_AN_SPI
    W5100 spi connect describe
    2013-01-31 10:59:40下载
    积分:1
  • PrachPara2013.10.21.0928
    LTE prach的信令分析代码,由协议解析出数据处理需要的信息(The signaling LTE PRACH analysis code, the protocol analysis data processing need information )
    2013-11-05 17:40:16下载
    积分:1
  • Socket
    socket 编程(socket programming)
    2008-01-15 17:30:30下载
    积分:1
  • Modbus-for-Field-Technicians
    Modbus for Field Technicians 介绍modbus的相当好的资料,包括原理和编程和协议介绍(Modbus for Field Technicians introduction modbus fairly good information, including schematics and programming and protocol description)
    2013-07-13 22:47:57下载
    积分:1
  • ShortMessageSystem
    短信群发系统,在一些业务范围广泛的公司中,当公司有了新的通知要告诉在外地的员工,通常使用拨打电话的方式,这样虽然能把事情说清楚,但是当在外的员工比较多时,工作量很大,为了解决这个问题,可以开发一个企业短信群发管理系统。企业短信群发管理系统主要利用硬件短信猫发送短信,并且可以查看SIM卡中收到的短信。(Mass messaging system, in a number of business a wide range of companies, when the company has a new notification to tell the staff in the field, normally used by calling the way, so although things can make it clear, but when the staff out for a long time compared , the heavy workload, in order to resolve this problem, can develop an enterprise management system for mass text messaging. Short Message management system for enterprises mainly use the hardware to send SMS text messages a cat and can view the SIM card text messages received.)
    2009-07-16 13:00:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载