Description: vb 串口通讯调试方法
现有电子秤一台,使用串口与计算机进行通讯。编写VB程序来访问串口,达到读取电子秤上显示的数据。该电子秤为BE01型仪表,输出为RS-232C标准接口,波特率为300-9600、偶校验、7个数据位、2个停止位。所有字符均发送11位ASCII码,一个起始位。在VB中与串口通讯需要引入控件MSComm串口通讯控件(在Microsoft Comm Control 6.0中)-vb serial communications debugging method existing electronic weighing a Taiwan, the use of serial communication with the computer. Preparation of VB to visit serial, electronic scales to read displayed on the data. The electronic scales for BE01-type instrument, the output of RS-232C standard interface, baud rate to 300-9600. Dual-checking, seven data bits, stop at two. All characters are sending ASCII 11, a starting place. In VB serial communications needs with the introduction of MSComm control serial communication controller (in Microsoft Co. Control 6.0 mm) Platform: |
Size: 2878 |
Author:林帆 |
Hits:
Description: MSComm 控件通过串行端口传输和接收数据,为应用程序提供串行通讯功能。MSComm控件在串口编程时非常方便,程序员不必去花时间去了解较为复杂的API函数,而且在VC、VB、Delphi等语言中均可使用。 Microsoft Communications Control(以下简称MSComm)是Microsoft公司提供的简化Windows下串行通信编程的ActiveX控件,它为应用程序提供了通过串行接口收发数据的简便方法-MSComm control through serial ports transmission and reception of data, applications for serial communication capabilities. MSComm Serial Programming at the very convenient, programmers do not need to go spend the time to understand more complicated API function, but also in VC, VB, Delphi and other languages can be used. Microsoft Communications Control (hereinafter referred to MSComm) is provided by Microsoft to simplify Windows programming of serial communication ActiveX controls, which provide for the application through the serial interface transceiver simple method of data Platform: |
Size: 17421 |
Author:123 |
Hits:
Description: MSComm 控件通过串行端口传输和接收数据,为应用程序提供串行通讯功能。MSComm控件在串口编程时非常方便,程序员不必去花时间去了解较为复杂的API函数,而且在VC、VB、Delphi等语言中均可使用。 Microsoft Communications Control(以下简称MSComm)是Microsoft公司提供的简化Windows下串行通信编程的ActiveX控件,它为应用程序提供了通过串行接口收发数据的简便方法。具体的来说,它提供了两种处理通信问题的方法:一是事件驱动(Event-driven)方法,一是查询法。-MSComm through serial port transmission and reception of data and application procedures for serial communications capabilities. MSComm in serial programming extremely convenient programmer does not have to spend time to understand the more complex API function, but also in VC, VB, Delphi, and other languages may be used. Microsoft Communications Control (hereinafter referred to MSCom m) is provided by Microsoft to simplify Windows programming of serial communication Active X-Control, which provides for the application procedures for the adoption of Serial Data Interface Transceiver simple method. Specifically, it provides a communication problem handled in two ways : First, the event-driven (Event-driven), First Act inquiries. Platform: |
Size: 8945 |
Author:steven |
Hits:
Description: 随着Windows98的推出,越来越多的微机用户已习惯于Windows操作系统。不过Windows应用软件的开发对于一般工程技术领域的技术人员来说并非易事,然而使用微软的VisualBasic6.0(简称VB6)来开发这些方面的Windows应用软件就十分方便,编程工作量相对较小,只需进行主要应用功能的编程和少量界面控制的编程。本文介绍利用VB6串行通信编程的方法对采用了RS-232接口的仪器,进行串行通信的计算机测控软件开发和实现仪器功能和指标的验收。-With the launch of Windows 98, more and more computer users are accustomed to Windows. But Windows application software development for the general area of engineering and technology and technical personnel is not easy, but to use Microsoft Visual Basic 6.0 (VB6) to the development of these applications on Windows is very convenient, programming workload is relatively small, only major applications programming a small amount of control and interface programming. This paper describes the use of VB6 serial communication programming method used to the RS-232 devices, serial communication control computer software development and the achievement of equipment functions and targets of acceptance. Platform: |
Size: 2847 |
Author:徐徐 |
Hits:
Description: 随着Windows98的推出,越来越多的微机用户已习惯于Windows操作系统。不过Windows应用软件的开发对于一般工程技术领域的技术人员来说并非易事,然而使用微软的VisualBasic6.0(简称VB6)来开发这些方面的Windows应用软件就十分方便,编程工作量相对较小,只需进行主要应用功能的编程和少量界面控制的编程。本文介绍利用VB6串行通信编程的方法对采用了RS-232接口的仪器,进行串行通信的计算机测控软件开发和实现仪器功能和指标的验收。-With the launch of Windows 98, more and more computer users are accustomed to Windows. But Windows application software development for the general area of engineering and technology and technical personnel is not easy, but to use Microsoft Visual Basic 6.0 (VB6) to the development of these applications on Windows is very convenient, programming workload is relatively small, only major applications programming a small amount of control and interface programming. This paper describes the use of VB6 serial communication programming method used to the RS-232 devices, serial communication control computer software development and the achievement of equipment functions and targets of acceptance. Platform: |
Size: 3072 |
Author:徐徐 |
Hits:
Description: vb 串口通讯调试方法
现有电子秤一台,使用串口与计算机进行通讯。编写VB程序来访问串口,达到读取电子秤上显示的数据。该电子秤为BE01型仪表,输出为RS-232C标准接口,波特率为300-9600、偶校验、7个数据位、2个停止位。所有字符均发送11位ASCII码,一个起始位。在VB中与串口通讯需要引入控件MSComm串口通讯控件(在Microsoft Comm Control 6.0中)-vb serial communications debugging method existing electronic weighing a Taiwan, the use of serial communication with the computer. Preparation of VB to visit serial, electronic scales to read displayed on the data. The electronic scales for BE01-type instrument, the output of RS-232C standard interface, baud rate to 300-9600. Dual-checking, seven data bits, stop at two. All characters are sending ASCII 11, a starting place. In VB serial communications needs with the introduction of MSComm control serial communication controller (in Microsoft Co. Control 6.0 mm) Platform: |
Size: 3072 |
Author:林帆 |
Hits:
Description: MSComm 控件通过串行端口传输和接收数据,为应用程序提供串行通讯功能。MSComm控件在串口编程时非常方便,程序员不必去花时间去了解较为复杂的API函数,而且在VC、VB、Delphi等语言中均可使用。 Microsoft Communications Control(以下简称MSComm)是Microsoft公司提供的简化Windows下串行通信编程的ActiveX控件,它为应用程序提供了通过串行接口收发数据的简便方法-MSComm control through serial ports transmission and reception of data, applications for serial communication capabilities. MSComm Serial Programming at the very convenient, programmers do not need to go spend the time to understand more complicated API function, but also in VC, VB, Delphi and other languages can be used. Microsoft Communications Control (hereinafter referred to MSComm) is provided by Microsoft to simplify Windows programming of serial communication ActiveX controls, which provide for the application through the serial interface transceiver simple method of data Platform: |
Size: 17408 |
Author:123 |
Hits:
Description: MSComm 控件通过串行端口传输和接收数据,为应用程序提供串行通讯功能。MSComm控件在串口编程时非常方便,程序员不必去花时间去了解较为复杂的API函数,而且在VC、VB、Delphi等语言中均可使用。 Microsoft Communications Control(以下简称MSComm)是Microsoft公司提供的简化Windows下串行通信编程的ActiveX控件,它为应用程序提供了通过串行接口收发数据的简便方法。具体的来说,它提供了两种处理通信问题的方法:一是事件驱动(Event-driven)方法,一是查询法。-MSComm through serial port transmission and reception of data and application procedures for serial communications capabilities. MSComm in serial programming extremely convenient programmer does not have to spend time to understand the more complex API function, but also in VC, VB, Delphi, and other languages may be used. Microsoft Communications Control (hereinafter referred to MSCom m) is provided by Microsoft to simplify Windows programming of serial communication Active X-Control, which provides for the application procedures for the adoption of Serial Data Interface Transceiver simple method. Specifically, it provides a communication problem handled in two ways : First, the event-driven (Event-driven), First Act inquiries. Platform: |
Size: 9216 |
Author:steven |
Hits:
Description: 用Visual C++6.0编程工具,使用Microsoft Communications Control控件(MSComm控件)进行串行通信程序的开发。-Using Visual C++ 6.0 programming tools, the use of Microsoft Communications Control Control (MSComm control) for serial communication program development. Platform: |
Size: 52224 |
Author:Harvey Bai |
Hits:
Description: VC++ 的串口通讯编程,
在VC++中有两种方法可以进行串口通讯。一种是利用Microsoft公司提供的ActiveX控件 Microsoft Communications Control。另一种是直接用VC++访问串口。-VC++ Serial Communication programming, in VC++ There are two ways to carry out serial communication. One is the use of Microsoft Platform: |
Size: 3072 |
Author:shiyou |
Hits:
Description: Microsoft公司在WINDOWS中提供了一个串口通讯控件,用它,我们可以很简单的利用串口进行通讯。在使用它之前,应将控件加在应用程序的对话框上。然后再用ClassWizard 生成相应的对象。现在我们可以使用它了。-Microsoft Corporation in the WINDOWS to provide a serial communication control, use it, we can use very simple serial communication. In the use of it before, controls should be added to the dialog box on the application. ClassWizard generated then the corresponding object. Now we can use it. Platform: |
Size: 3072 |
Author:何肖 |
Hits:
Description: Visual C++提供了一种好用的ActiveX控件Microsoft Communications Control(即MSComm)来支持应用程序对串口的访问。本文介绍MSComm在VC++的添加使用实例及给出了mscomm.h头文件主要代码关键部分的注释。-Visual C++ Provides an easy-to-use ActiveX control Microsoft Communications Control (ie MSComm) to support the application of the serial port visit. This article describes the MSComm in VC++ Add the use of examples and gives the header file mscomm.h key part of the main code of the Notes. Platform: |
Size: 229376 |
Author:Wuxinmin |
Hits:
Description: 在VC++中有两种方法可以进行串口通讯。一种是利用Microsoft公司提供的ActiveX
控件 Microsoft Communications Control。另一种是直接用VC++访问串口。下面将简述
-In VC++ in the There are two ways to carry out serial communication. One is the use of Microsoft' s ActiveX controls provided by Microsoft Communications Control. The other is the direct use of VC++ access to serial port. Are summarized in the following Platform: |
Size: 6144 |
Author:王丽 |
Hits:
Description: scomm是微软一个强大的串口通讯的控件,其强大,简单的特点今我们不舍,在delphi中我们也可以使用它。下面这些代码是针对发送和接收为16进制处理的。
-Microsoft scomm is a powerful serial communication control, and its powerful, simple features of today we give up, in delphi, we can also use it. The following code is for sending and receiving for the 16-band processing. Platform: |
Size: 1024 |
Author:林凡辉 |
Hits:
Description: 在工业控制领域中,PLC作为一种稳定可靠的控制器得到广泛的应用。但它也有自身的一些缺点,即数据的计算机处理能力较弱,不能给用户提供良好的界面等。而计算机恰好能弥补PLC的不足,他不但有很强的数据处理和管理能力,而且能给用户提供非常美观而又易于操作的界面。将PLC与计算机结合,可是系统达到既能及时采集、存储数据,又可处理和使用好数据,两者结合的关键是PLC与计算机之间的通信。由于微软的MScomm通信控件具有丰富的与串行通信密切相关的属性及事件,提供了对串口的各种操作,并且在串口编程时非常方便,而且在DELPHI中容易得到使用。-In the field of industrial control, PLC as a reliable controller is applied widely. But it also has some shortcomings, namely, its data processing ability of computer is weak, cannot offer users good interface, etc. While the computer just can make up the deficiency of PLC, he not only has a strong data processing and management ability, and can offer customers very beautiful and easy-to-use interface. PLC and computer will achieve system, but can timely data collection, storage and handling and use good data, the key is the combination of PLC and computer communication between. Because of the Microsoft MScomm communication control with rich and serial communication is closely related to the properties and events, provided for all kinds of operation, and the serial port in serial when programming is very convenient, but also in DELPHI easy in use. Platform: |
Size: 385024 |
Author:pp |
Hits:
Description: 通过VB中的Microsoft Communication Control(简称MSComm)通信控件的属性和事件进行相应编程操作,
} 可以轻松地实现串口通信-By VB in the Microsoft Communication Control (referred to as MSComm) communication control properties and events appropriate programming operation,) serial communication can be easily achieved Platform: |
Size: 128000 |
Author:zhaowei |
Hits:
Description: VC2008下使用MSCOMM串口通信控件的框架程序,MSCOMM控件已经可以正常使用,对于在08环境下仍想使用MSCOMM控件的开发人员,可以在此基础上直接添加修改。-The code uses Microsoft Communication Control(MSCOMM) based on VC2008. Platform: |
Size: 2152448 |
Author:zheng |
Hits: