-
从串口读取数据,有两种方法, 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
-
the program demonstrated how the Windows platform using Windows API function to...
该程序演示了如何在windows平台下使用WindowsAPI函数来操作串口,可以用以实现两台PC机之间的实时聊天。(必须连接串口电缆)-the program demonstrated how the Windows platform using Windows API function to operate serial ports, can be used to achieve between two PC real-time chat. (Must connect serial cable)
- 2022-02-06 05:39:17下载
- 积分:1
-
西门子数控ck6150老式的车床,802sc源的梯子。
CK6150数控车,西门子802SC梯形图源程序。-CK6150 NC Lathe, Siemens 802SC source ladder.
- 2023-01-01 14:30:03下载
- 积分:1
-
一个用于台湾产的采集器的编译器及我自己做的一些实例代码,还有中文帮助文件若干。可以用于有需要的下载交流。...
一个用于台湾产的采集器的编译器及我自己做的一些实例代码,还有中文帮助文件若干。可以用于有需要的下载交流。-Taiwan for producing a collection of compiler and I made some examples of code, there are a number of Chinese help files. It can be used to download the necessary exchange.
- 2022-08-16 02:48:01下载
- 积分:1
-
用于串口应用程序的调试监控工具,软件可模拟设备往串口发送指定格式的数据串,同时也可以用于实时监控串口读写过程中的所有数据流。☆ 自动侦测当前系统中所有可用的串口...
用于串口应用程序的调试监控工具,软件可模拟设备往串口发送指定格式的数据串,同时也可以用于实时监控串口读写过程中的所有数据流。☆ 自动侦测当前系统中所有可用的串口数,支持USB扩展出的虚拟串口(可到COM256)。☆ 支持ASCII码和十六进制数据格式的发送和接收。☆ 可以自由选择侦测的串口,接收数据区的容量可以无限大。☆ 发送、接收数据区的大小可以随意拉伸调节。☆ 对发送、接收数据区加入鼠标右键菜单的支持。☆ 扩大串口波特率的支持,现最高Baud可到921600。☆ 支持Unicode内码显示。☆ 增加自动发送数据功能。☆ 增加保存显示记录的功能。-applications for serial monitoring of debugging tools, software can simulate serial devices to send data to the specified format string, but also can be used for real-time monitoring serial process of reading and writing all data stream. automatically detect the current system all available serial number, support USB expansion of Virtual Serial Port (available to COM256). support ASCII and hexadecimal format of the data to send and receive. freedom of choice to detect the serial and receive data in large capacity can be unlimited. send and receive data of arbitrary size can adjust tension. right to send and receive data by adding areas of the right mouse button menu support. serial port baud rate of expansion, is
- 2022-05-26 06:11:45下载
- 积分:1
-
西门子PLC步进电机控制+TD200显示示例
西门子PLC步进电机控制+TD200显示示例-Siemens step moter+ TD200 Demo
- 2022-01-22 01:13:47下载
- 积分:1
-
一个包含了几乎所有串口操作的源码群,可以根据自己需要改写...
一个包含了几乎所有串口操作的源码群,可以根据自己需要改写-1 contains almost all serial-source operating groups, according to their own needs rewriting
- 2022-04-01 11:21:45下载
- 积分:1
-
用单片机I/O口模拟串口通信,有两种方法,节省硬件,实现简单。...
用单片机I/O口模拟串口通信,有两种方法,节省硬件,实现简单。-MCU I/O simulation mouth serial communication, there are two ways to save hardware, simple implementation.
- 2022-04-10 13:17:24下载
- 积分:1
-
TC中的串口编程基础
TC中的串口编程基础-the TC basis Serial Programming
- 2022-05-13 08:48:47下载
- 积分:1
-
setupapi方式列举本机串口,包含虚拟串口
setupapi方式列举本机串口,包含虚拟串口-setupapi enumerate the Serial includes Virtual Serial Port
- 2022-09-26 06:40:02下载
- 积分:1