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

VC_MFC-Sample1

于 2012-10-11 发布 文件大小:137KB
0 334
下载积分: 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 个回复

  • Threads-and-chat-program-example
    有客户端的聊天软件,可实现网络通讯,对于了解网络编程有帮助(A client chat software, network communications, network programming help for understanding)
    2013-10-28 09:33:58下载
    积分:1
  • MFC_SOCKET
    实现局域网内的通讯。类似于QQ聊天室可以群聊(Communication within a LAN.)
    2011-11-19 09:43:41下载
    积分:1
  • 串口数据绘曲线
    说明:  本程序是将串口实时接收到的数据,然后将数据进行曲线绘制。(The data received by serial port is plotted in real time.)
    2020-06-18 16:00:01下载
    积分:1
  • TQ2440
    本文系统的介绍了TQ2440开发板相关知识,对这方面的读者很有作用。(This article describes the system development board TQ2440 knowledge, useful in this respect the role of the reader.)
    2010-01-29 19:52:52下载
    积分:1
  • alsa-lib.tar
    i8320 系统服务与组件,提取自limo操作系统内核完整源代码(i8320 system services and components extracted from the limo complete source code for the operating system kernel)
    2011-10-12 19:45:39下载
    积分:1
  • mise-0.1
    类似simulink的小程序,在网上找到的,希望对大家有用。。(Similar simulink small program, found on the Internet, we want to be useful. .)
    2014-05-04 14:54:23下载
    积分:1
  • PCYT
    这是一个云台控制的软件,我只是实现了上下左右,自动几个功能,为了测试用,不过可以调通。(This is a PTZ control software, I just realized vertical and horizontal, automatic several functions, in order to test, but can be transferred through.)
    2013-08-22 08:44:29下载
    积分:1
  • Frequencyconversion
    说明:  变频器使用手册 MM440使用手册 西门子通用变频器应用实例手册(Inverter Manual Manual Siemens MM440 Inverter Application Manual Universal)
    2010-04-09 14:46:36下载
    积分:1
  • NICControlClass
    枚举所有网卡、获取设置网卡参数、检查网卡状态、启禁网卡(Enum all NICs,get NIC paramates,check NIC state,enable/disable nic)
    2010-10-13 12:35:40下载
    积分:1
  • BlueTooth
    说明:  对蓝牙的基本应用测试(包括搜索 链接 数据发送与接受)(The basic test for Bluetooth applications (including search link data is sent and received))
    2011-04-06 17:18:46下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载