Design and Implementation of Remote Control Software in Undersea Gas Detecting System

De-ping LI,Wen-zhang ZHONG,Qun-hui YANG,Yu-dong CHEN,Hai-li GAO,Ming-biao BAI,Wei-bing ZHANG
DOI: https://doi.org/10.3969/j.issn.1673-629X.2015.01.049
2015-01-01
Abstract:For the purpose of in-situ auto-detecting the content of hydrogen,oxygen,nitrogen and methane in the seafloor,the faculty of ocean and earth science in Tongji University has developed an undersea tracer gas in-situ auto-detecting system. Taking the remote con-trol software of this system as a case,an in-depth analysis is conducted on its design and implementation in this paper. By using the WSAAsynSelect model for socket programming on Microsoft Visual C++ 2005,all received data are stored in a link-list,and the time-consuming operations such as data storage and fluctuation graph display are handled by the background threads. Thus the main thread can be more focus and effective on disposing the network events. Real-time communication is achieved. At the same time present a data re-transmission mechanism,which ensures the integrity and correctness of data transfer at the application level.
What problem does this paper attempt to address?