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

VC_MFC-Sample1

于 2012-10-11 发布 文件大小:137KB
0 396
下载积分: 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
  • UDPComm
    基于UDP通讯服务器的开发,主要负责接收传感器发送上来的检测数据,校验后解析(CRC校验),并存储在SQL数据库中。(UDP communication server-based development, primarily responsible for receiving the sensor sends up the detection data checksum (CRC check) after parsing, and stored in an SQL database.)
    2012-09-12 15:56:43下载
    积分:1
  • gest
    void swap1(int x, int y) //值传递 void swap2(int *px, int *py) //指针传递 void swap3(int &x, int &y) //引用传递 的使用(void swap1(int x, int y) //值传递 void swap2(int*px, int*py) //指针传递 void swap3(int &x, int &y) //引用传递 的使用)
    2012-04-30 16:41:44下载
    积分:1
  • Lab_Exercices_Modeler
    opnet学习资料,提供部分网络仿真模型。一:介绍OPNET 环境。二:执行M/M/1队列模型。三:以太网模型(Aloha,CSMA,CSMA-CD).四:TCP.五:OSPF(OPNET learning materials, providing part of the network simulation model. 1: Introduction OPNET environment. Second: The Executive M/M/1 queue model. III: Ethernet model (Aloha, CSMA, CSMA-CD). IV: TCP. 5: OSPF)
    2021-04-13 09:38:56下载
    积分: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
  • WSAChat
    Basic C, WSA 2.0 chat server and client.
    2010-03-16 13:11:09下载
    积分:1
  • Blind
    volterra 系统的盲辨识,高阶统计随机输入(Blind Identification of Second Order Volterra SystemsWith Complex Random Inputs Using Higher Order Cumulants)
    2016-08-01 09:21:30下载
    积分:1
  • DLL_LIBRARY32_2.1
    CAREL控制器通讯协议,通过这个文件即可编写自己carel控制器监控程序(CAREL DLL_LIBRARY32_2.1)
    2020-06-28 22:20:02下载
    积分:1
  • modbus_RS232_RS485_COL
    串口通过modbaus协议控制继电器,读取开关输入的PC上位机源程序(Serial control relay through modbaus agreement, read the PC host computer switch input source)
    2011-11-21 11:48:16下载
    积分:1
  • Communication-by-SerialPort
    实现串口通信 可以收发数据 可以是数字也可以是ASCII(Serial communication)
    2013-07-24 10:10:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载