搜索资源列表
文件夹
- 使用MSCOMM控件主要是通过事件来处理串行口的交互,即当数据到达时,控件的OnComm的事件就会来捕获或处理这些通讯事件。而OnComm事件也可以用来捕获和处理通讯错误。在实际应用中,一个MSCOMM控件就对应一个串行口,所以如果要处理多个串行口的话,必须有相应数量的控件与之对应。-use MSCOMM control mainly through the incident to the serial interaction, that is, when the data arrived, t
spcomm
- // This Communications Component is implemented using separate Read and Write // threads. Messages from the threads are posted to the Comm control which is // an invisible window. To handle data from the comm port, simply // attach a handler to
Sieral_Multithread
- 串口通信处理的多个线程需要协调运行,一个线程必须等待另一线程结束才能开始,在处理一个线程的同时必须把其余待处理的线程挂起等待,以减少其余待处理线程对CPU的资源占用,正处理的线程一旦处理结束则通过线程间的通信发出信号来击活被挂起的线程中的一个线程进入处理。-Serial communication processing necessary to coordinate multiple threads running, a thread must wait until the end of the
Inverters
- 变频器串口通信控制检测的软件编程 对于变频器回送的状态信息则利用Windows的消息处理函数OnComm()进行处理。在消息处理函数中,将变频器回送的14个状态字一次全部读到所定义的变量参数中,然后程序再从变量参数中分别读取各状态字,在屏幕上显示、判断并报警。-Inverters Detect serial communication control software programming for the inverter loopback status of the informatio
vc_com_api
- 串口设置 串口的操作可以有两种操作方式:同步操作方式和重叠操作方式(又称为异步操作方式)。同步操作时,API函数会阻塞直到操作完成以后才能返回(在多线程方式中,虽然不会阻塞主线程,但是仍然会阻塞监听线程);而重叠操作方式,API函数会立即返回,操作在后台进行,避免线程的阻塞-com set HANDLE CreateFile( LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECUR
PVKey
- 虚拟手柄,与松下PV200/PV500进行通讯,可虚拟手柄操作功能,实现方向控制,功能键控制,和TRIG,SET等控制。-Virtual handle with Panasonic PV200/PV500, communications, virtual handle operating functions, direction control, function key control, and TRIG, SET control.
TestComm
- 这是一个用于对PC机上串口操作的程序,是应用于对ID卡读卡器操作的,其中的Example方法是主方法,不过它的显示是在后台,在前台显示的话就是TestToComm方法,不过它有一些BUG,就是线程没有处理好,如果有哪位有兴趣看一下,帮忙改进一下,在这谢过了,E-mail:wangyunfu2011@126.com-This is a program for the PC serial port operation, the Example method applied to the operat
SerialDemo
- 一个很实用的串口调试类,有demo CSerialIO实现一个对串口读写的类,有一个线程负责处理对串口数据的读写,只需要简单调用CSerialIO提供的API就可以侦听串口的数据。-A very practical serial debugging classes, there are demo CSerialIO implement a class to read and write to the serial port, there is a thread to handle read an
51Comm
- 单片机将采集到的数据处理后,通过串口发送出去-SCM will handle the collected data, sent through the serial port
