Welcome![Sign In][Sign Up]
Location:
Search - serial port read

Search list

[Com Port20050120091918_MySerialPort[2004-01-18-01]

Description: 从串口读取数据,有两种方法,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 analysis is, in fact, overtime judgment. If a receiver to the news, some time had not received a EV_RXCHAR, it is a data packet to an end. This thread will receive notification of data threads for da
Platform: | Size: 46080 | Author: 刘云鹏 | Hits:

[Windows CECRs232

Description: vb.net 开发的WinCE下的串口通讯类,open()打开串口,read(),write()读写串口-vb.net WinCE development of the serial communications, open () to open the serial port, read (), write () to read and write serial
Platform: | Size: 9216 | Author: 韩俊峰 | Hits:

[Com Portserial IO

Description: tcl编写的串口API,包括发送命令,以及读取串口命令。-Serial port IO API coding with tcl. Include write and read data from serial IO port.
Platform: | Size: 1024 | Author: 吴滔 | Hits:

[Com PortCommPort-CSharp

Description: 利用rs232类进行串口的读写操作,并在windows下显示读写的数据.开发环境:VS.NET2003-use RS232 serial port for the class to read and write operation and shown in the windows read and write data. Development environment : VS.NET2003
Platform: | Size: 2048 | Author: 任绘锦 | Hits:

[Communicationduxiechuankou

Description: 一个简单的例子:如何从串口读取数据,以及向串口写数据-a simple example : how to read data from the serial port and write data to the serial port
Platform: | Size: 29696 | Author: 凌东生 | Hits:

[Windows Mobilezylgpsrecmob

Description: 从串口读取数据,然后解析nmia,进行定位。 源码码齐全-read data from the serial port, then analytic nmia for positioning. Complete source code. .
Platform: | Size: 508928 | Author: beckin | Hits:

[Embeded Linuxew809

Description: 这是一个对ARM9通用的LINUX ARM QT串口初始化设置,只要在自己的程序打开这个程序,及初始化数据结构,就可以读写出N个字节的串口数据-This is an ARM9 general-purpose serial port LINUX ARM QT initialization settings, as long as in their own program to open this process, and to initialize the data structure, you can read and write out the N-byte serial data
Platform: | Size: 18432 | Author: 陈龙昌 | Hits:

[Driver DevelopISA12port9054

Description: win2000下ISA接口的串口板卡的驱动程序,接口芯片用的是9054,共有12路串口,包括对串口的读、写及初始化操作。-win2000 under ISA serial interface card driver, interface chip is used in 9054, a total of 12 serial ports, including the serial port of the read, write, and the initialization.
Platform: | Size: 18432 | Author: 蔡琦 | Hits:

[CommunicationSerial_oscillogragh

Description: 从串口读取数据,本例是读取数据包,然后筛选所需要的数据进行波形显示-Read data from the serial port, which in this case is to read the packet, and then filter the data needed to carry out waveform display
Platform: | Size: 37888 | Author: hechao | Hits:

[Otherprodram

Description: 编写VB程序来访问串口,达到读取电子秤上显示的数据-The preparation of VB to access serial port, to read the electronic scale shown on the data
Platform: | Size: 3072 | Author: 张艳荣 | Hits:

[Communicationcomm

Description: 关于串口通讯的类,很方便的读写串口进行通讯。-On the serial communication class, it is easy to read and write serial port to communicate.
Platform: | Size: 7168 | Author: 龙哥 | Hits:

[CommunicationloadometerReader

Description: 托利多电子地磅,串口直接读取程序源码。该源码无需任何Dll,内置了地磅的串口协议。能自动读取指定的二进制位的读数。-Toledo Electronic loadometer, serial direct source reading program. The source without any Dll, built-in serial port loadometer agreement. Can automatically read the specified binary readings.
Platform: | Size: 9216 | Author: pengyong | Hits:

[Driver Developwdf_kmdf_basic_src

Description: serial port read/write,对USB和com端口的数据读写可以实时操作,但是com端口必须未被其他程序占用,如果被占用,将会无法打开。-serial port read/write, and com port on the USB data read and write real-time operation, but the com port must have not been occupied by other programs, if occupied, will be unable to open.
Platform: | Size: 5120 | Author: langqichao | Hits:

[Communicationserial

Description: 由于WINCE不支持重叠I/O操作,因此可分别用单独的线程去读写串口,通过多线程来模拟重叠操作[4]-WINCE does not support as a result of overlapping I/O operation, it can be a separate thread to read and write serial port, through multi-threading to simulate the overlapping of operations [4]
Platform: | Size: 176128 | Author: owen | Hits:

[CSharpDLL

Description: GsmModem 源码 短信模块通过串口与PC机相连,该程序操作短信模块,发送手机短信,不支持接收手机短信,短信内容是从Microsoft SQL server中读取的,数据表和存储过程都提供了。开发平台是.net,语言是C#。操作短信模块指令是AT指令。 -GsmModem message source modules through the serial port and PC-connected operation of the program module message, send cell phone message, cell phone does not support the message receiver, message content from the Microsoft SQL server are read, the data tables and stored procedures are provided. Development platform are. Net, language is C#. Message module operating instructions are AT commands.
Platform: | Size: 3128320 | Author: | Hits:

[GPS developserial-port-communication-examples

Description: 包括了读取GPS串口,串口读写操作,串口数据合并等串口操作实例,对于熟悉串口操作有很大帮助。-Read and Write example performs a Serial Port Read, a Serial Port Write, or a combination of these actions while setting some advanced serial features like buffer size, termination characters, and XON/XOFF flow control.
Platform: | Size: 111616 | Author: wu | Hits:

[Linux-Unixserial

Description: 在linux下的串口读写程序,包括串口的各种设置。用到open-port和set-port函数。-In linux serial port to read and write under the procedures, including a variety of serial port settings. Open-port and use set-port function.
Platform: | Size: 1024 | Author: 牛志强 | Hits:

[Com PortPort

Description: It is an application to read or write to a bluetooth device using serial port communication
Platform: | Size: 8647680 | Author: vishal | Hits:

[Com PortLinux-read-serial-port-

Description: linux c/c++的串口的读写方法,提供详尽的Linux源程序,方便读者实现串口读写功能-linux c/c++ read and write the serial method, Linux source code to provide detailed, easy to readers to read and write capabilities to achieve serial
Platform: | Size: 1665024 | Author: Essay | Hits:

[LabViewSerial-Port-DataConvert

Description: LabVIEW编写的,用于串口的调试,里面包括很多子vi,包括串口的配置,串口的读取,写入,串口数据的进制转换等-Written in LabVIEW, for serial debugging, which includes many sub-vi, including the configuration of the serial port, serial port read, write, and serial data hex conversion
Platform: | Size: 343040 | Author: 张先生 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 48 »

CodeBus www.codebus.net