Use of a finite state machine approach for sequence control in the GREGOR infrared spectrograph (GRIS)

Matta-Gómez, A.; Quintero Nehrkorn, J.; Quintero Noda, C.; Rodríguez Delgado, H.; Regalado Olivares, S.; Bienes, J.; Ruiz de Galarreta, C.; Collados, M.; Barreto Cabrera, M.
Referencia bibliográfica

Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series

Fecha de publicación:
7
2024
Número de autores
9
Número de autores del IAC
9
Número de citas
0
Número de citas referidas
0
Descripción
Due to the complexity of scientific instruments, such as spectropolarimeters, managing instrument sequences can be challenging. To address this problem, a Finite-State Machine (FSM) approach has been used to manage solar observation sequences in the GREGOR Infrared Spectrograph (GRIS). FSMs provide a structured and visual representation of control logic, making them well-suited for managing intricate workflows. By using FSMs, both scientists and engineers can clearly define and modify instrument sequences, ensuring the precise coordination of various instrument components. In multiple optical channels spectropolarimeters, such as GRIS, FSMs can effectively synchronize the image acquisition across multiple channels, adjust exposure times, handle errors, and manage the selection of the scanning system. To streamline the implementation process, the CodeDesigner RAD tool was used to create diagrams that illustrate the execution order of the states belonging to a finite-state machine. CodeDesigner's code generation feature automatically translates these diagrams into C++ code. This approach ensures the precise and reliable operation of the GRIS control software.