搜索资源列表
SOCKET服务器(队列算法)
- SOCKET服务器,支持多客户端,含协议判断处理. 每个客户端有独立的数据队列做BUFFER, 采用异步SOCKET方式接收数据. 传上来换点分!对初学都应该还算是比较全面的.含全部源代码.
verilog for uart
- 通用异步接收器/发送器(UART)是能够编程以控制计算机到附加串行设备的接口的微芯片。详细来说,它提供给计算机RS-...还有高级的UART提供了一定数量的数据缓冲,这样计算机和串行设备数据流就可以保持同样的速度。-universal asynchronous receiver / transmitter (UART) can be programmed to control computer attached to the serial device interface microchips.
disinglebufhandshake8255
- Inputs digital data into a buffer from a group of two digital ports using hanshaking (for 8255-based devices).
串口温度数据采集并实时显示
- 串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一
Circlebuffer
- 循环缓冲区的类。在网上曾经查过很多关于循环缓冲区的代码,比较过后,觉得这个还是很不错的,欢迎下载!-A circle buffer Class which is rather better than others in my opinion.
Queue
- 串口通讯里,对接收到的字符进行缓冲处理,并以队列形式输出至外面-Serial communication, the docking buffer characters received treatment, and the output queue to form outside
IDkadukaqi
- 程序说明:本程序为读写器程序。 下面将本程序所用变量及含义定义如下: 定义SBUF(N)为串行通讯的缓冲区 定义CBUF(N)为读卡卡号的缓冲区-Procedure Descr iption: This procedure for reading and writing program. Following this procedure will be used and the meaning of variables are defined as follows: the defi
rs232
- 一个在实际生产中使用的串口的通讯程式,采用STX开始+length+buffer+03+LRC。比较喜欢的是程式中对length的使用-One used in actual production serial communication program。STX start using+ length+ buffer+03+ LRC. Prefer the program to the length of the use
MaxiCOM
- Unfortunately Microsoft has never paid much attention to the serial port. In the Windows API it is just regarded as a file, and in the first version (1.1) of the .NET framework (managed code) there was no support for serial communication. Fortunately
circbuf_src
- Complete source code for Circular Buffer Implementation
UDP.rar
- 1、首先需要定义的对象: SOCKET ReceivingSocket //接收端的Socket SOCKADDR_IN ReceiverAddr //接收端的地址信息 char ReceiveBuf[1024] //接收数据缓冲区大小 int BufLength //缓冲区长度 SOCKADDR_IN SenderAddr //发送数据端地址信息 int SenderAddrSize = sizeof(SenderAddr) //发送
SnifferSystem
- 用于分析Zigbee网络数据协议的分析系统框架,包括串口动态库实现,数据缓冲区实现,数据库或文本保存数据实现等功能。-Zigbee protocol for analyzing network data analysis system framework, including the serial dynamic library implementation, the data buffer to achieve a database or text save data to achieve o
SerialPort
- * Function: 串口的打开、关闭、数据发送 以及 自动接收 (1)采用【事件驱动】的方式,即当缓冲区接收到数据的时候,【自动执行接收数据】,有效的节省系统资源,提高执行效率。 原理:建立一个事件线程,它监视串口的事件和错误信息。当有事件或错误发生时,它主动向【主线程】发送一个Windows消息。主线程在消息相应函数中处理已发生的事件或错误。 (2)采用“异步方式”读串口,耗时的读数据在单独的线程中进行。 (3)编程步骤:定义全局变量、创建串口、开启事件线程、发送数据、自定
CPP_Com_TEST_Fubiao
- 串口两级缓冲区通信示例工程,适用于需要处理大量串口数据的应用场合,两个缓冲区分别为挑帧缓冲区和解帧缓冲区,分别在两个线程中进行,可有效解决突发大数据处理能力不足的问题。-The two level buffer serial communication example project, for applications where the need to handle a large number of serial data, the two buffer respectively choos
DspApi
- 实现DSP脱离烧录器烧录代码的功能,可以多台并机升级DSP软件。-We can realize the function of DSP buffer burn unit code, can be more than one weaver upgrade DSP software.
BufferOverflow
- 这个小程序是适于缓冲区溢出的,算是一个有用的例子,对新手来说比较好学习。-This little program is suitable for the buffer overflow can be regarded as a useful example, is better for beginners to learn.
circle100
- 一个环形缓冲区类的实现,C++语言实现,非常实用-circle buffer implement