Ma Rongting, Liu Fei, Deng Hui, Wang Feng, Ji Kaifan. The Design and Implementation of a Data-Receiving Subsystem of the CSRH-I[J]. Astronomical Research and Technology, 2015, 12(1): 63-69.
Citation: Ma Rongting, Liu Fei, Deng Hui, Wang Feng, Ji Kaifan. The Design and Implementation of a Data-Receiving Subsystem of the CSRH-I[J]. Astronomical Research and Technology, 2015, 12(1): 63-69.

The Design and Implementation of a Data-Receiving Subsystem of the CSRH-I

  • The construction of the hardware systems of the Chinese Spectral Radio Heliograph (CSRH) has been completed. It is urgent to design and implement a robust data-receiving subsystem to read observational data from the digital receiver of the CSRH. Such a subsystem also needs to have the capability to inform other subsystems that are further along the data flows, including the supervision subsystem and visualization subsystem, about the status of available data. In this paper we first analyze the format of raw data received by the CSRH-I. Based on the analysis we have designed a data-receiving subsystem for the CSRH-I. The subsystem is to work under a LINUX environment and is based on the BOOST software package as its development library. By incorporating a network server of the TCP protocol the subsystem can read and check data from the digital receiver asynchronously. After being pre-processed observed data are saved by the subsystem in a file set; meanwhile, through a UDP message the subsystem will further inform other subsystems to update the current status of available data. Our design of the subsystem fully considers the issues of handling errors/exceptions in TCP communications. Our test results show that the subsystem can work steadily and reliably, meeting the requirements of applications in the CSRH-I.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return