On the basis of analyzing XTF file format of ECLIPS 5700 well logging system, a class of reading XTF format data was built with the object-oriented method based on the memory mapping file technique. This technique realizes fast reading of XTF format file with mass data and also provides the technical reference for format transformation and data processing of other well logging data formats.
There are methods,such as Findwindow,FindwindowEx,Open WaitableTimer,OpenMutex and OpenEvent,to apply single instance. In this article,semaphore and memory mapped file(MMF) are applied in the single instance.
The software have two remarkable functions: processing images of carriages and accessing information of inspection, which are provided by two processes respectively. The communication between processes is realized by memory mapped file.
Analyzes Virtual Memory mode and how the memory-mapped files works in win32 and introduces how to use the windows API to map files to memory. Results can be gotten from experiments that the effective is much higher in reading mass data using memory-mapped files than using the traditional I/O manner.