| As training equipment, the drilling simulator is used to simulate the operation of drilling platform, which is based on modern electronics, communication technology and graphics technology. It is composed by simulation of drilling equipment, computers and software and mainly used for experiments, training and assessment in petroleum and gas engineering.According to the requirements of the project, this thesis analyzes the requirement of the system and established the objectives and principles of the system. In Microsoft Visual C++6.0, this system is divided into four levels: interface layer, function module layer, database access layer and database layer.Based on MFC, interface layer has been designed and this system could show the parameters of the simulation equipment in real-time. The state of buttons and lights, and the parameters of instruments are transferred between the simulation equipment and the master through the UDP. Database is established by ACCESS. ADO technology has been used to store the data in database. Data backup ensure the security of the date. The database access layer separates the database module from function module, which could reduce the impact of the system when the database is changed.The stability of data acquisition and transmission has been improved by this system. This system has good man-machine interface, strong scalability and has obtained the well testing effect in the practical application. |