Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18290

Implement Detailed State on White Light CSC

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

          Hide
          cwinslow Colin Winslow [X] (Inactive) added a comment - - edited

          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. 

          Show
          cwinslow Colin Winslow [X] (Inactive) added a comment - - edited 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. 

            People

            Assignee:
            cwinslow Colin Winslow [X] (Inactive)
            Reporter:
            cwinslow Colin Winslow [X] (Inactive)
            Reviewers:
            James Buffill [X] (Inactive)
            Watchers:
            Colin Winslow [X] (Inactive), James Buffill [X] (Inactive), Patrick Ingraham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.