-
Himself wrote a serial type, from CNCOMM mistakes, to streamline the code, solve...
自己写的一个串口类,从CNCOMM改正过来的,精简代码,解决了只能事件方式下只能接收几个字符的问题-Himself wrote a serial type, from CNCOMM mistakes, to streamline the code, solve the incident only way to receive only a few characters in the issue of
- 2022-01-23 10:45:58下载
- 积分: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
-
端口测试程序
com port test program
- 2022-04-08 01:44:03下载
- 积分:1
-
vc实现的一个串口通讯例子
vc实现的一个串口通讯例子-vc achieve an example of serial communications
- 2023-06-15 14:50:03下载
- 积分: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
-
procedures for the Serial debugging software very well. Can send TXT documents,...
本程序为串口调试软件很好的。可以传送TXT文件,和HEX文件,还可以自动发送。-procedures for the Serial debugging software very well. Can send TXT documents, and HEX files and also automatically send.
- 2022-11-18 04:10:03下载
- 积分:1
-
使用C++实现将Modbus协议封装在DLL中的源代码
使用C++实现将Modbus协议封装在DLL中的源代码-C++ realization of the use of Modbus protocol will be packaged in a DLL in the source code
- 2022-05-24 20:15:12下载
- 积分:1
-
使用MSCOMM控件主要是通过事件来处理串行口的交互,即当数据到达时,控件的OnComm的事件就会来捕获或处理这些通讯事件。而OnComm事件也可以用来捕获和处...
使用MSCOMM控件主要是通过事件来处理串行口的交互,即当数据到达时,控件的OnComm的事件就会来捕获或处理这些通讯事件。而OnComm事件也可以用来捕获和处理通讯错误。在实际应用中,一个MSCOMM控件就对应一个串行口,所以如果要处理多个串行口的话,必须有相应数量的控件与之对应。-use MSCOMM control mainly through the incident to the serial interaction, that is, when the data arrived, the control of the incident will OnComm to capture or handle these communications incident. OnComm incident which can also be used to capture and handle communication error. In practical application, a corresponding MSCOMM control on a serial port, so if we are to handle multiple serial port, then there must be a corresponding amount of the corresponding controls.
- 2022-06-01 02:51:46下载
- 积分:1
-
S3C2410ARM处理器的uCos2移植实验代码,包括移植,串口通信等。...
S3C2410ARM处理器的uCos2移植实验代码,包括移植,串口通信等。-S3C2410ARM processor code uCos2 transplant experiments, including transplantation, serial communications.
- 2022-02-01 01:01:39下载
- 积分:1
-
ABB AIN电表通讯测试程序.ABB电能表品种较多,但用于中国市场的仅有2个品种,即AIN系列(A1600)和A1200系列,该程序在A1600上测试通过...
ABB AIN电表通讯测试程序.ABB电能表品种较多,但用于中国市场的仅有2个品种,即AIN系列(A1600)和A1200系列,该程序在A1600上测试通过-ABB AIN meter communications test procedures. ABB Power Meter more varieties, But for the Chinese market, only two species, AIN Series (A1600) and A1200 series, in the process of testing through A1600
- 2023-03-16 13:20:03下载
- 积分:1