Location:
Search - 13898398comcom
Search list
Description: 程序使用VC6.0的通用串口控件MSCOMM32.OCX来对发送到串口的数据进行采集处理。主要使用方法串口设置:m_Comm.SetSettings(“波特率,校验方式,数据位数,停止位数”)
取串口数据:m_Comm.GetInput()
你只首先要确定一个mscomm32.ocx控件在system目录下并且该控件已经被windows注册,本程序才能正常运行。-Uses VC6.0 to the common serial port control MSCOMM32.OCX sent to serial port data acquisition and processing. Mainly use serial port settings: m_Comm.SetSettings ( " baud rate, parity mode, data bits, stop bits" ) to take data from serial port: m_Comm.GetInput () you only have to determine the first control in a mscomm32.ocx system directory, and the control windows have been registered, the program to work correctly.
Platform: |
Size: 34816 |
Author: wjh |
Hits: