MSCOMM32.OCX
串口编程控件MSCOMM32.OCX
mscomm32.ocx是微软提供的串口通讯开发控件。支持串口通讯的软件大部分都是使用这个控件来实现串口通讯功能的。
安装方法:请您把它复制到系统目录下,对于windows9x系列(win95、win98、winme)是x:windowssystem,对于
windowsNT、windows2000、windowsXP系列是x:winntsystem32。然后打开一个命令行提示符窗口(MSDOS方式窗口),
用"cd x:windowssystem"命令或者"cd x:winntsystem32"切换到系统目录下,再执行"regsvr32 mscomm32.ocx"这个命令。
(MSCOMM32.OCX mscomm32.ocx control is provided by Microsoft Serial communications development controls. Support serial communication software is used most of the controls to achieve serial communications capability. Installation Method : Would you please copy it to the system directory, windows9x Series (win95. win98, WINME) x : windows system . for Windows NT, by Windows, windowsXP series of x : winnt system32 . Then open a command line prompt window (MSDOS mode window), "cd x : windows system "orders or" cd x : winnt system32 "switched to the system directory, further implementation of the "typing mscomm32.ocx" This order.)
- 2020-06-26 05:20:01下载
- 积分:1
串口温度数据采集并实时显示
串口温度数据采集并实时显示 读串口数据的原理是,只要当有数据向串口发数据来时,计算机就会自动将其数据写到一个特定的缓冲区,我们只要写程序去读那个特定的缓冲区就可以了. 有数据向串口发过来时,程序可以将数据接收到,接收的数据是字符型的,那么将数据转化为数字型的,再将这个数据的大小作为画图的某一个点的纵坐标,横坐标为数据的序号.将这些点用线连起来就是一个曲线图了,这个就是图形显示基本原理. 查看原来的数据的原理也是这样的,不同的地方就是,数据是从文件中来,同样的也是将多个数据分成一个一个的,然后这一个数据的大小就是画图的某一个点的纵坐标,横坐标同样为数据的序号,再将这些点用线连起来就是曲线图. 图形能移动的原理,是我们首先改变的只是数据,图形并没有变,但图形的形式是由这些数据来确定的,当数据发生变化后,我们通过刷新显示区来变化的.(Serial temperature data acquisition and real-time serial data reading the principle is, as long as when a serial data to the data, the computer will automatically writes data to a specific buffer, we can write specific procedures read that the buffer zone would be fine. Serial data to be sent, process data can be received, the receiving of data is the character, then transform data into digital type, and then the size of the data as a drawing of a point Ordinate, the abscissa serial data. these points will be used to link line is a curve, this is the graphic display the basic tenets. View the original data is the same principle, the difference is, the data from the file, the same data also will be divided into a number one, and then this one is the size of the data to draw a certain point )
- 2020-06-26 07:40:02下载
- 积分:1