登录
首页 » Com Port » 多线程在VC++串口通信程序中的应用.pdf

多线程在VC++串口通信程序中的应用.pdf

于 2023-06-05 发布 文件大小:293.23 kB
0 168
下载积分: 2 下载次数: 1

代码说明:

多线程在VC++串口通信程序中的应用.pdf -multithread serial communication in VC procedures for the application. Pdf multithread serial communication in VC procedures for the application . pdf

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

发表评论

0 个回复

  • 本程序调用了微软自带的mscomm控件,实现com口的数据接收,读者可自行添加发送数据功能。内附mscomm.ocx控件及其注册方法,本程序是用的静态链接库,为...
    本程序调用了微软自带的mscomm控件,实现com口的数据接收,读者可自行添加发送数据功能。内附mscomm.ocx控件及其注册方法,本程序是用的静态链接库,为的是能在没有vc库的机器上也可以运行,所以个头大了点。-Microsoft"s own mscomm controls, I realize com data reception, readers can add their own functions to send data. Enclosing mscomm.ocx control and registration method, the procedure is used in the static link library, for the in the absence of vc for the machine can also run, giving the larger point.
    2023-05-10 02:05:03下载
    积分:1
  • moxa 公司出的串口库,带开发源码,非常方便的串口开发工具
    moxa 公司出的串口库,带开发源码,非常方便的串口开发工具-The serial moxa company database, with the development of source code, the serial port is very convenient development tools
    2022-08-20 23:16:11下载
    积分:1
  • Serial debugging is very useful. 2103 arm
    串口调试非常有用。 2103 arm-Serial debugging is very useful. 2103 arm
    2022-02-05 01:52:55下载
    积分:1
  • 串口通信的东东 串口通信的东东串口通信的
    串口通信的东东 串口通信的东东串口通信的-Dongdong serial communications serial communications serial communications Dongdong
    2023-08-02 23:15:03下载
    积分:1
  • 基于vb的西门子plc和上位机通信的实现方法 拷贝就行
    基于vb的西门子plc和上位机通信的实现方法 拷贝就行-vb-based Siemens plc and the personal computer communications method copy OK
    2022-04-21 10:36:42下载
    积分:1
  • 从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的...
    从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收到一个消息后,一段时间没收到下一个EV_RXCHAR,就认为是一个数据包的结束。这个线程就会通知数据接收线程,进行数据接收。一般同一包数据,两个字符之间的时间间隔,应该很小了吧,而两个数据包之间的间隔,应该不会太小吧!(这个地方我不清楚,猜的:( :) )最后一个线程,是接收数据的。-read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data reception, the first method is a variant : an interception EV_RXCHAR, one pair of EV_RXCHAR analys
    2023-03-23 09:55:03下载
    积分:1
  • VB.net的串口通讯支持总是让人觉得有所不足,在使用VB6的MsComm32.ocx时,很多人都会在VB.net的开发中觉得很困扰。这里讲述的VB.net串口...
    VB.net的串口通讯支持总是让人觉得有所不足,在使用VB6的MsComm32.ocx时,很多人都会在VB.net的开发中觉得很困扰。这里讲述的VB.net串口通讯类使用native代码,并且它是通API调用实现的,你会发现VB.net的串口通讯就是这么简单。 在说明如何使用这个类前,需要说明的是,本类只是一个VB.net的串口通讯演示,你可能需要根据你的情况修改后使用。-Serial Communication Programs require the support always make people feel inadequate. in the use of VB6 MsComm32.ocx, Many people will Programs require in the development feels very frustrated. Programs require here on the serial communications using native code, and it is the 14th API calls to achieve, and you will find Programs require the serial communication is as simple as that. In explaining how to use this class, there is a need to explain, this is only one type of serial communications Programs require demonstration You may need to change your position after use.
    2023-01-04 03:45:04下载
    积分:1
  • The EZ320 utility demonstrates the communication program between host PC and the...
    The EZ320 utility demonstrates the communication program between host PC and the MR320.
    2022-02-14 11:23:32下载
    积分:1
  • 使用Delphi编写的串口通信控制器,具备文件传输功能
    使用Delphi编写的串口通信控制器,具备文件传输功能-prepared by the use of Delphi serial communication controller with the file transfer function
    2023-08-21 18:40:03下载
    积分:1
  • VC++多串口控制解决方案源代码code
    VC++多串口控制解决方案源代码code-VC Multiport Serial control solution source code
    2022-02-21 17:39:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载