-
从串口读取数据,有两种方法, 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
-
windows环境下的串口调试工具。具有配置串口,自动接受,手动发送数据的功能....
windows环境下的串口调试工具。具有配置串口,自动接受,手动发送数据的功能.-windows environment serial debugging tools. Serial Configuration is automatically accepted, manually send data.
- 2023-03-09 13:00:03下载
- 积分:1
-
这是一个改进了的串口RS232的类,它能有效的防止空间泄漏,通过这个类可以开发串口通信。...
这是一个改进了的串口RS232的类,它能有效的防止空间泄漏,通过这个类可以开发串口通信。-This is an improvement of a RS232 serial port class, it can effectively prevent the leakage space, can be developed through this type of serial communication.
- 2022-06-26 13:44:56下载
- 积分: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
-
一个串口通信的源码,以2进制形式实现传输,可以传输图像等各种文件。...
一个串口通信的源码,以2进制形式实现传输,可以传输图像等各种文件。-a serial communication source to the form of two-band transmission, transfer images and other documents.
- 2023-01-19 23:20:04下载
- 积分:1
-
VC++ multi
VC++下的多串口通信程序,并具有其他功能-VC++ multi-serial communication program, and has other functions
- 2023-04-21 20:20:03下载
- 积分:1
-
本人调试通过的串口通信程序,对初学者有一定的参考价值
本人调试通过的串口通信程序,对初学者有一定的参考价值-I debugging through the serial communication program for beginners with some reference value
- 2022-06-18 08:49:34下载
- 积分:1
-
我所见过用VC写的最好的串口类,具有模拟单片机中断传输的方式,避免了查询传输CPU损耗和接收超时...
我所见过用VC写的最好的串口类,具有模拟单片机中断传输的方式,避免了查询传输CPU损耗和接收超时-I have ever seen VC was the best serial category, with simulation SCM interruption of transmission, so that the CPU for transmission and reception of overtime loss
- 2023-04-21 22:15:02下载
- 积分:1
-
this program from the keyboard read into two five decimal number (1
本程序能从键盘读入二个五位十进制数(1位符号位+4位数值位),并将这二个十进制数
分别转换为二进制数,然后求其和,再将和以十进制形式进行显示。-this program from the keyboard read into two five decimal number (1- 4 Symbol numerical), This will be two decimal number were converted to a binary number, and then seek his, and then to decimal form shows.
- 2023-08-07 20:25:03下载
- 积分:1
-
串口通信类,非常有用,Cserial,欢迎下载
串口通信类,非常有用,Cserial,欢迎下载-Serial communication class, very useful, Cserial, welcome to download
- 2023-06-06 07:45:02下载
- 积分:1