Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_main_telescope
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:TSSW Sprint - Oct 26 - Nov 9, TSSW Sprint - Nov 9 - Nov 23
-
Team:Telescope and Site
-
Urgent?:No
Description
Update the M2 SAL interface based on the latest xml file. After the summit test at Feb. in this year, the M2 xml has been updated to support more use cases than before. This task is to update the software to support this.
The main focus is in this task is the state machine transition and figure out how to let the M2 to be controllable by SAL.
This task is in the phase 2.
Based on the m2ms_incomingSAL.vi, there should be a user event (SAL_Command) to decide the M2 control system can accept the SAL command or not. In the case structure inside, a enum of SAL_InterfaceCommandEnum.ctl is used.
The PublishOnlySubstate class has the systemReady.vi to send the SAL_Command event to allow the SAL command. This is triggered by the exec.vi of SystemReady class.
The createCommand.vi in CommandFactory class issues the SystemReady command. There is a SystemNotReady command as well.
The SystemMonitor class has the check_for_system_ready.vi to send the SystemReady command.