You can use Visual C + + to design asynchronous serial communication programs in a Windows environment using different methods.
one way to use the serial port API functions provided by Windows system is to use the ActiveX control Mscomm.ocx provided by Microsoft Company directly. It is relatively simple to use the Mscomm.ocx control to design the serial port, as
Label: style blog HTTP color Io OS AR
(Note: our programming environment is in Windows XP and implemented in QT creator. If the program is written in Linux or in source code directly, you can modify it yourself .)
There is no specific serial control class in QT. Most people now use the qextserialport class written by a third party. We also use this class here. We can
Http://sourceforge.net/projects/qextserialport/files/
You can also download my uploa
(Note: our programming environment is in Windows XP and implemented in QT creator. If the program is written in Linux or in source code, the program is slightly different. Change the program by yourself .)
There is no specific serial control class in QT. Most people now use the qextserialport class written by a third party. We also use this class here. We can go
Http://sourceforge.net/projects/qextserialport/files/
To download, you can also download
VC + + Serial Communication programming detailedReprint Address: http://www.jizhuomi.com/software/309.htmlIn industrial control, industrial computer (usually based on Windows platform) often need to communicate with the intelligent instrument through the serial port. Serial communication is convenient and easy to use and widely used.In general, the industrial com
In industrial control, Industrial Computer (generally based on Windows) often needs to communicate with smart meters through serial ports. Serial Communication is convenient and widely used.Generally, the Industrial Computer communicates with each smart meter through RS485 bus. The RS485 communication mode is half-duplex and can only be round-robin by the industrial control PC as the master node on each Int
In industrial control, Industrial Computer (generally based on Windows) often needs to communicate with smart meters through serial ports. Serial Communication is convenient and widely used.Generally, the Industrial Computer communicates with each smart meter through RS485 bus. The RS485 communication mode is half-duplex and can only be round-robin by the industrial control PC as the master node on each Int
Application of Spcomm Control in Delphi Serial Communication
22:20:31 | category: personal diary | report | font size subscriptionApplication of Spcomm Control in Delphi Serial Communication
Abstract: The use of Delphi to develop industrial control system software has become the choice of more and more developers, and serial communication is one of the problems
From https://www.ibm.com/developerworks/cn/linux/l-serials/
Introduction to serial ports
The serial port is a common interface for computers. It has a wide range of applications, such as a few connection lines and simple communication. Commonly used serial port is RS-232-C interface (also known as EIA RS-232-C) it was in 1970 by the American Association of Elect
Delphi uses Tcomm component Spcomm for serial communicationAbsrtact: Using Delphi to develop industrial control system software becomes more and more developer's choice, and serial communication is one of the problems that must be solved in this process. Based on the analysis and comparison of several common serial communication methods, this paper emphatically d
An embedded system usually needs to carry out Full-duplex communication with its main control system, for example, a pipelined control system needs to continuously accept the query and control information sent from the master control system, and send the execution result or query result back to the master control system. This paper introduces a simple Java class library which realizes Full-duplex communication through serial port, which simplifies the
Java Serial communication detailed (GO)Author: denimcc Date: 2007-05-11 PrefaceWhen it comes to open source, I'm afraid few people don't pick Osashi praise. The students learned the knowledge through open source code, the programmer gained the successful experience of others through the open source Library and the ability to finish the project at hand on time, and the merchant made the money through open source software. However, the first drawback of
reprint Please specify from: Blog.csdn.net/mingojiang
Directory
A serial communication basis
1.1 Serial communication principle and characteristics
1.2 Transmission mode of serial communication
1.3 Synchronization technology of serial communication
1.4 Serial Interface
-1-
VC ++Application Design for Serial Communication
Abstract: This article introduces a Serial Communication Class Integrated with Win32 API functions and the basic idea of C ++ class.
Cserialport class. The following describes how to implement serial communication in VC ++ 6.0 through specific examples.
Key words: VC ++ se
Abstract: This article introduces the implementation mechanism of serial communication on Windows platform, and discusses the design of Serial Communication Using Visual C ++ based on different conditions.
Program The three methods, combined with the actual situation, to achieve monitoring of temperature data reception.
In laboratory and industrial applications, se
Two independent asynchronous serial I/O ports are provided for the UART unit of the high-efficiency FIFO serial port based on the implementation of b0x (clock frequency: 60 MHz) on the ARM7, each communication port can work in the interrupt or DMA mode. That is, UART can generate an internal interrupt request or DMA request to transmit data between the CPU and the seria
Introduction to serial ports
The serial port is a common interface for computers. It has a wide range of applications, such as a few connection lines and simple communication. Commonly used serial port is RS-232-C interface (also known as EIA RS-232-C) it was in 1970 by the American Association of Electronic Industry (EIA) the
Do not often contact computer friends may be a lot of small computer knowledge do not understand, today's editor in the QQ group of computer enthusiasts have found a friend asked a relatively simple, but the novice friends generally do not pay attention to the problem: what is a serial disk, what is the same port hard drive. Whichever speed is faster and so on. The author found that a lot of friends do not understand or know the incomplete, editing he
Original article address: petabytes of serial programming materials (translated) Author: notbig
PB serial programming materials---- Mscomm32The MSComm control transmits and receives data through the serial port to provide the serial communication function for applications. MSComm controls are very convenient for
Serial Communication in Windows
Unlike the serial communication programs in DOS, Windows does not recommend that applications directly control the hardware, but transmits data through the device driver provided by the Windows operating system. The serial port is processed as a file in Win 32, rather than directly operating on the port. For
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.