-
getmywish结合visual basic60和msdn帮助,编写了一个两个串口的受到发送程序,该程序在win98,win2000,winxp下调试通过,希...
getmywish结合visual basic60和msdn帮助,编写了一个两个串口的受到发送程序,该程序在win98,win2000,winxp下调试通过,希望和大家工勉-getmywish combine visual and VARIANT basic60 help prepared a two Serial sent by the program, which in win98, WIN2000. Debugging under winxp passed, and we hope that the Mian
- 2022-04-24 02:41:46下载
- 积分: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
-
Delphi串口通讯控制器串口通信 包括解析报文.. 串行通讯接口
Delphi串口通讯控制器串口通信 包括解析报文.. 串行通讯接口-Serial Port Controller based on Delphi includes parsing message ... serial communication interface
- 2022-01-28 22:13:38下载
- 积分:1
-
anti
串口编程的是反例子,可用于测试你的串口通行-anti-examples can be used to test your serial port access
- 2022-12-09 16:35:03下载
- 积分:1
-
这是一个多线程实现的串口通信类,学习multith…
这是一个多线程实现的串口通信类,对学习多线程编程以及串口通信有用,可以直接使用,也可以修改加入自己的应用,很方便-This is a multithreaded achieve the serial communication class, to learn multithreaded programming and serial communication useful, can be used directly, can also modify to their own use, convenient
- 2023-06-12 00:15:03下载
- 积分:1
-
串口操作源程序,可以对串口读写操作,当然也可以自发自收,是一个联系串口通信的好例子...
串口操作源程序,可以对串口读写操作,当然也可以自发自收,是一个联系串口通信的好例子-source can write to serial port, of course, can also spontaneously collected, the serial link is a good example of communication
- 2023-03-18 07:55:03下载
- 积分:1
-
计算机中传输数据的方式有两种:并行方式和串行方式。在IBM PC机的汇编语言中,对串口的编程方式有DOS和BIOS 系统功能中断调用。本次实验设计采用BIOS系...
计算机中传输数据的方式有两种:并行方式和串行方式。在IBM PC机的汇编语言中,对串口的编程方式有DOS和BIOS 系统功能中断调用。本次实验设计采用BIOS系统功能中断调用,即通过INT 14H,调用ROM BIOS串口通信例行程序。-computer transmission of data in two different ways : parallel and serial mode approach. IBM PC assembly language, the serial programming method DOS and BIOS interrupt function call. The experimental design using BIOS interrupt function call, through INT 14H, called ROM BIOS serial communication is a routine procedure.
- 2023-07-27 22:45:08下载
- 积分:1
-
使用vb.net实现串口通讯的过程,具体见程序。谢谢!
使用vb.net实现串口通讯的过程,具体见程序。谢谢!-vb.net using Serial communication process, see the specific procedures. Thank you!
- 2023-06-24 01:30:05下载
- 积分:1
-
简单的串口通信程序!通过按键来实验是否将主机中相应缓冲区中的内容传送给从机!主机状态改变,按键传输时,从机状态也将改变!...
简单的串口通信程序!通过按键来实验是否将主机中相应缓冲区中的内容传送给从机!主机状态改变,按键传输时,从机状态也将改变!-Simple serial communication program! Through the keys to the experiment whether or not to host the corresponding buffer content transmitted to the slave! Host state changes, button transmission, from the state machine will change!
- 2022-08-13 10:39:35下载
- 积分:1
-
vb demonstration of various communications functions Mscomm
vb演示Mscomm各种通信功能-vb demonstration of various communications functions Mscomm
- 2022-05-23 00:58:05下载
- 积分:1