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

VC_MFC-Sample1

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

  • microsoft-bluetooth-API
    使用 VC++ 调用微软蓝牙 API 函数的示例代码。可以使用 VC++6.0 至 VC++2010 编译代码。(Using VC++ call Microsoft Bluetooth API sample code. You can use VC++6.0 to VC++2010 compiled code.)
    2020-12-23 09:09:06下载
    积分:1
  • ListStudent
    输入学生的name,number,class等内容(importation students name, number, class, etc.)
    2007-05-14 19:03:11下载
    积分:1
  • MySocket
    vc++开发的socket通信类(含客户端和服务端)(socket communication(include client and server))
    2013-08-12 14:13:49下载
    积分:1
  • READCOM2
    串口发送、接收数据,显示数据、画图功能 可以选择16进制或ascii数据发送(Serial port to send, receive data, display data, drawing function can choose 16 hexadecimal or ascii data sent)
    2008-12-19 23:25:16下载
    积分:1
  • PAPR
    OFDM中降低峰均比的方法,将传统的SLM法,改进的SLM法和限幅加改进SLM法进行比较(Compare OFDM PAPR reducing methods in the traditional SLM method, improved SLM method and limiter plus improved SLM method)
    2014-09-22 06:45:54下载
    积分:1
  • Symotion_Overview
    Symotion是一种用于运动控制的实时工业总线,基于10/100M以太网物理层,应用层使用canopen及精简协议。可应用于运动控制器,电机驱动器,PLC,编码器光栅尺与其它工业现场执行器互连。symotion总线提供安全、开放、低成本及高性能应用。(Symotion is a synchronous real-time FieldBus for Motion control . Build on a 10/100M Ethernet physical layer , and Canopen or reduced protocol Layer. interconnect between motion controllers, Motor drives, I/O modules, encoder devices and other actuators. Symotion provides Safety , Open , low cost and high performance in all applications.)
    2011-08-16 12:41:16下载
    积分:1
  • MODBUS VC
    说明:  基于modbus rtu封装的通讯协议,很好用(Communication protocol based on Modbus RTU encapsulation)
    2019-11-09 09:48:31下载
    积分:1
  • Amplifier
    光纤放大器模拟程序,包括泵浦功率、光纤增益、光纤长度等参数(fiber amplifier)
    2012-01-06 15:30:14下载
    积分:1
  • Sample_VC
    说明:  prodave是西门子PLC与高级语言的程序接口,如何使用它,这里给出一个VC与西门子PLC通讯并读写DB块数据的例子(Prodave is Siemens PLC and high level language program interface, how to use it, so here is a VC and Simon PLC and literacy DB block of data example )
    2011-04-18 15:09:48下载
    积分:1
  • LabVIEWandUSB
    说明:  利用动态链接库现LabVIEW与USB设备的数据通信(Is the use of dynamic-link library of LabVIEW and the USB data communication equipment)
    2009-08-12 16:47:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载