Chinese Journal of Magnetic Resonance ›› 2009, Vol. 26 ›› Issue (4): 497-503.

• Articles • Previous Articles     Next Articles

Multi-Layer Architecture Design of Software Used on NMR Spectrometer Console

  

  1. 1.State Key Laboratory of Magnetic Resonance and Atomic and Molecular Physics, Wuhan Center for Magnetic Resonance(Wuhan Institute of Physics and Mathematics, Chinese Academy of Sciences), Wuhan 430071, China; 
    2.Graduate School of the Chinese Academy Sciences, Beijing 100049, China
  • Received:2009-03-31 Revised:2009-05-07 Online:2009-12-05 Published:2009-12-05
  • Supported by:

    国家自然科学基金资助项目(10675162),科技支撑计划资助项目(2006BAK03A22).

Abstract:

A software system used for the consoles of NMR spectrometers, designed -using a multi-layer architecture, is presented. The software system is divided into five layers: Linux driver layer, driver interface layer, BZ logic layer, socket layer and protocol control layer. Each layer has a specific function and is maintained independently. It was shown that multilayer architecture design not only reduces coupling in the system and simplifies the system structure, but also allows developing different layers simultaneously, thus improving the programming efficiency and reducing the development cycle time. The software system was debugged on the hardwares developed independently in the lab and passed rigorous testing.

Key words: NMR spectrometer, control software, system architecture, hardware driver

CLC Number: