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

VC_MFC-Sample1

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

  • MFC_SOCKET
    实现局域网内的通讯。类似于QQ聊天室可以群聊(Communication within a LAN.)
    2011-11-19 09:43:41下载
    积分:1
  • TTTOOA_uwbh
    这是在uwb系统中,用TOA定位法的的整个系统的仿真程序源码 (This is a simulation program source code for the entire system in uwb systems, TOA positioning method)
    2020-08-11 19:58:26下载
    积分:1
  • GTM900AT
    华为GTM900AT命令手册,对开发GPRS具有指导意义(Huawei GTM900 AT command manual,It has a guiding significance to develop GPRS )
    2012-12-06 16:48:43下载
    积分:1
  • MySocket
    vc++开发的socket通信类(含客户端和服务端)(socket communication(include client and server))
    2013-08-12 14:13:49下载
    积分:1
  • PuncturedConvolutionalCodes
    删除卷积码的译码算法,分析其删除原理,给出常用删除模式(Punctured Convolutional code decoding algorithms, to analyze the deletion of principle, given the deletion of common mode)
    2009-06-09 23:34:30下载
    积分:1
  • TadaptiveOFDMh
    本程序利用改进的CHOW算法,仿真了自自适应OFDM系统的性能,并画出了SNR (This program makes use of improved CHOW algorithm simulates the performance of self-adaptive OFDM system, and draw the SNR)
    2012-08-20 06:45:10下载
    积分:1
  • electromotor1.6
    VC (MODBUS协议)上位机程序VC (MODBUS协议)上位机程序(VC (MODBUS))
    2013-10-10 10:55:46下载
    积分:1
  • secs
    半导体通讯协议,包含SECS-I SECS-II HSMS GEM讲解(include SECS-I SECS-II HSMS GEM)
    2021-03-03 15:59:33下载
    积分:1
  • PbxDemo
    东进多媒体交换机实用程序可实现呼叫中心功能(交换机实用程序可实现呼叫中心功能)
    2010-03-02 15:28:22下载
    积分:1
  • jiugongwenti
    (九宫问题)在一个3×3的九宫中有1-8这8个数及一个空格随机的摆放在其中的格子里,如图1-1所示。现在要求实现这个问题:将该九宫格调整为如图1-1右图所示的形式。调整的规则是:每次只能将与空格(上、下、或左、右)相邻的一个数字平移到空格中。试编程实现这一问题的求解。((Nine-palace issues) in a 3 × 3 of the Nine-palace are 1-8 this 8 random number and the placing of a space in which the cell house, as shown in Figure 1-1. Now required to achieve this issue: the squares adjustment for the right as shown in Figure 1-1 form. Adjustment of the rules: each can only be with the spaces (upper and lower, or left, right) adjacent to a digital flat space. Test Programming to solve this problem.)
    2008-12-25 22:07:50下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载