-
从串口读取数据,有两种方法, 1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。 2、接收到一个EV_RXCHAR后,等一定数据...
从串口读取数据,有两种方法, 1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。 2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的-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
- 2022-08-09 09:18:25下载
- 积分:1
-
CSerialPort类最新源码V1.27
CSerialPort类最新源码V1.27-V1.27 up-to-date source CSerialPort category
- 2022-01-22 07:03:28下载
- 积分:1
-
自动联想命令行处理代码
自动联想命令行处理代码-automatic command line processing code
- 2023-07-28 17:50:02下载
- 积分:1
-
双机串行通讯源程序(汇编),文件关联可以修改,默认为DXP2004
双机串行通讯源程序(汇编),文件关联可以修改,默认为DXP2004-Dual Serial Communication source (compilation), file association can be amended, by default DXP2004
- 2023-02-15 13:35:04下载
- 积分:1
-
用于和远程modem建立连接,发送字符信息的串口通信软件
用于和远程modem建立连接,发送字符信息的串口通信软件-And the remote modem for establishing a connection, sending the characters of the serial communication software information
- 2023-08-25 21:35:03下载
- 积分:1
-
with Delphi is a powerful, easy
Delphi是一种具有功能强大、简便易用和代码执行速度快等优点的可视化快速应用开发工具,它在构架企业信息系统方面发挥着越来越重要的作用,许多程序员愿意选择 Delphi作为开发工具编制各种应用程序。但是,美中不足之处是 Delphi没有自带的串口通信控件,在它的帮助文档里也没有提及串口通信,这就给编制通信程序的开发人员带来许多不便-with Delphi is a powerful, easy-to-use and faster code execution advantages of visual rapid application development tool, the framework for enterprise information systems are playing an increasingly important role, many programmers choose to Delphi as a development tool preparation of the various applications. However, inadequate as it is not Delphi onboard Serial Communication Control, in its help files contain no mention of serial communication, which gives the procedures for the preparation of communications developers bring a lot of inconvenience
- 2022-03-25 21:30:22下载
- 积分:1
-
computer serial port is a common interface, with connecting lines, simple commun...
串行口是计算机一种常用的接口,具有连接线少,通讯简单,得到广泛的使用。常用的串口是RS-232-C接口(又称EIA RS-232-C)它是在1970年由美国电子工业协会(EIA)联合贝尔系统、调制解调器厂家及计算机终端生产厂家共同制定的用于串行通讯的标准。它的全名是"数据终端设备(DTE)和数据通讯设备(DCE)之间串行二进制数据交换接口技术标准"该标准规定采用一个25个脚的DB25连接器,对连接器的每个引脚的信号内容加以规定,还对各种信号的电平加以规定。传输距离在码元畸变小于4%的情况下,传输电缆长度应为50英尺。 Linux操作系统从一开始就对串行口提供了很好的支持,本文就Linux下的串行口通讯编程进行简单的介绍.-computer serial port is a common interface, with connecting lines, simple communications, to be widely used. It is commonly used serial RS-232-C interface (also known as the EIA RS-232-C) it is in 1970 by the American Electronics Industry Association (EIA) Joint Bell System, a modem manufacturers and computer terminal manufacturers developed for serial communication standards. Its full title is "data terminal equipment (DTE) and data communications equipment (DCE) between serial binary data exchange interface technology standards," the use of a standard 25 feet to the DB25 connector, the connector pin of each signal content requirements, but also the right signal--
- 2022-01-30 12:03:25下载
- 积分:1
-
rs232编程原理详解,
不可多得的一本好书
做硬件开发必须
rs232编程原理详解,
不可多得的一本好书
做硬件开发必须-Detailed programming rs232 principle, rare books to do a hardware development to be
- 2023-01-23 13:20:03下载
- 积分:1
-
USB communications source code, the entire Internet, downloading re
USB通信源代码,网上最全,下载后重新rebuild就可以运行了。-USB communications source code, the entire Internet, downloading re-rebuild on the run.
- 2022-06-30 05:27:32下载
- 积分:1
-
支持XMODEM,YMODEM,FAX协议的串口通信软件包的下一个:基于TAPI应用的通信应用...
支持XMODEM,YMODEM,FAX协议的串口通信软件包的下一个:基于TAPI应用的通信应用-support XMODEM, YMODEM, FAX agreement serial communications under one package : TAPI applications based communications applications
- 2023-07-22 21:25:03下载
- 积分:1