Data Transmission System for 2D-SND at CSNS
China Spallation Neutron Source (CSNS) is the first high-performance pulsed neutron source in China. On phase one, there are three instruments at CSNS. They are General Purpose Powder Diffractometer (GPPD), Small Angle Neutron Spectrometer (SANS) and Multi-purpose Reflectometer (MR). At present, 2-dimension scintillator neutron detector (2D-SND) for GPPD and its relative sub-systems have been constructed. As one of these sub-systems, data transmission system provides a reliable and effective parallel processing method for data processing and data transfer from Data acquisition system (DAQ) to data analysis system. It is developed in C language. In this system, multi-threading is used to implement data processing; shared memory is used to communicate with DAQ system; and Distributed Information Management (DIM) is used to interact with online data analysis system. Results of neutron beam experiments showed that data transmission system was robust and stable, met design requirements of GPPD. It can be widely applied on other instruments of CSNS in the future.
KeywordsCSNS GPPD Data transmission Parallel processing DIM
This work is supported by National Natural Science Foundation of China (No. 11305191).
- 1.Uchida, T.: Hardware-based TCP processor for gigabit ethernet. IEEE Trans. Nucl. Sci. 55(3), 1631–1637 (2008)Google Scholar
- 3.Tian, H.L., Zhang, J.R., Yan, L.L., Tang, M., Hu, L., Zhao, D.X., Qiu, Y.X., Zhang, H.Y., Zhuang, J., Du, R.: Distributed data processing and analysis environment for neutron scattering experiments at CSNS. Nucl. Instrum. Methods Phys. Res. 834, 24–29 (2016)Google Scholar
- 4.DIM Homepage. http://dim.web.cern.ch/dim/. Accessed 20 May 2017