Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_auxiliary_telescope
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:TSSW Sprint - Apr 1 - Apr 13, TSSW Sprint - Apr 15 - Apr 27, TSSW Sprint - Apr 29 - May 11
-
Team:Telescope and Site
Description
Implement detailed state on the WLS CSC. This will simply be an enumeration of the hardware states that we can receive from the KiloArc. Since we already react to an error signal from the KiloArc, this won't change CSC behavior, it is strictly about reporting more information.
https://github.com/lsst-ts/ts_ATWhiteLightSource/commit/57ef6bef4d1de2b323def6cd508eac49d66993b6
I can't test this thoroughly until I hook up to the actual KiloArc due to limitations of my testing setup, but I'm not too worried about it since this change doesn't alter CSC behavior at all.
Basically, we have 5 detailed states: OFFLINE, READY, COOLDOWN, ERROR, and DISCONNECTED.
READY, COOLDOWN, and ERROR are all reported from the KiloArc by way of the ADAM. OFFLINE is for when we seem to have a connection but we are not receiving any status signals (the most plausible explanation of this would be that the ADAM is on but the KiloArc is off). DISCONNECTED means we can't connect to the ADAM, and thus have no visibility into the KiloArc's state. There is a possibility of dangerous things happening while in DISCONNECTED state, so Patrick and I are discussing having a mechanism in the supervisory CSC that cuts power to the ADAM if we get into this state.