Abstract:The design of image acquisition software for an imaging system of flat-panel detectors is a very important part of developing an imaging system. In the traditional image acquisition software development process, different systems should be developed the corresponding software. This kind of development needs more time , and code reuse rate is low. This paper presents a general image acquisition software for flat-panel detectors, the USB communication is implemented by NI-VISA, the unified flat-panel detectors frame format is established, the FITS format is used to save images.The real-time acquisition, display and saving of image data for different kind of flat-panel detectors imaging system are implemented, significantly reducing system development time and improving the Development efficiency.