This paper mainly describes how to realize data communication between the SZF wave direction buoy receiver and the host computer, and uses convenient high-level computer languages instead of assembly languages to realize wave data processing. The VC++ language is used to realize the playback and formatted output of the SZF wave direction buoy receiver data, and a software design scheme is given. The SZF wave direction buoy system consists of a buoy body and a shore station receiving processor [1]. The buoy system structure is shown in Figure 1. The buoy body plays the role of data acquisition, processing and transmission. The shore station receiving processor (hereinafter referred to as the receiver) plays the role of receiving and processing the data sent by the buoy. It is equipped with a data processing and control board, a data receiver, a receiving antenna, a micro printer and a data storage device. It has an RS-232C interface for communication with a computer and can transmit data to the host computer in real time. The receiver memory can store up to 1024 sets of measurement data. The data stored in the memory include: measurement time, wave statistical characteristic values, wave direction occurrence rate, buoy battery voltage value and wave height raw data. Since the storage capacity of the receiver memory is limited compared to the amount of data obtained from long-term observations, and the receiver can only process the observation data in a simple and preliminary manner, in order to further analyze and process the data, it is necessary to transmit the observation data to the host computer through the serial port and implement it in the host computer using high-level language programming. Processing the data in the host computer not only reduces the difficulty of writing assembly language in the lower computer, but also does not require additional hardware, and also reduces the manufacturing cost of the instrument. In order to realize the real-time transmission of data from the receiver to the host computer and facilitate the user\'s operation of the transmitted data, software support is required to establish a friendly human-computer interface and realize data communication, processing and display. Since its birth, Visual C++ has been one of the most important application development systems in the Windows environment. Its most important technical features are visual programming and support for object-oriented programming technology. It provides a series of visual programming tools, such as AppWizard and Class Wizard. VC also provides a variety of methods to realize serial communication. In view of this, this paper uses VC to realize data communication and data processing between the SZF wave direction buoy receiver and the host computer, and focuses on the host computer software design scheme.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore