Chinese Journal of Magnetic Resonance ›› 2011, Vol. 28 ›› Issue (2): 190-197.

Previous Articles     Next Articles

Scripting Environment Used in NMR Spectrometer Software

 HU Shao-Bin1,3, CHEN Xi-Qun1, BAO Qiang-Jia2, LIUZao1, LIU Chao-Yang1*   

  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. Department of Physics, Huazhong University of Science and Technology, Wuhan 430074, China;
    3. Graduate School of the Chinese Academy Sciences, Beijing 100049,China
  • Received:2010-05-24 Revised:2010-06-21 Online:2011-06-05 Published:2011-06-05
  • Supported by:

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

Abstract:

This paper introduces embedding scripting environment in NMR spectrometer software. First, the concept of scripting languages is described, and the performance of several script parsers is compared. Secondly, the architecture of NMR software system is summarized, followed by discussions on the methods used to setup scripting environment with QtScript. Thirdly, some feasible solutions for scripting within the framework of NMR spectrometer software are developed. Lastly, some test results are reported and possible methods for improvement are proposed.

Key words: NMR spectrometer software, scripting environment, script engine, application scripting

CLC Number: