Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-1220

persist and regenerate motor positions and fpaMoved dates

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      SM1PD-2021 A 6, SM1PD-2021 A7, SM1PD-2021 A8, SM1PD-2021 A9, SM1PD-2021 A10, SM1PD-2021 A 11, SM1PD-2021 A 12, SM1PD-2021 A 13, SM1PD-2021 A 14

      Description

      INSTRM-215 gave the mechanism, but we still need to handle the persistence and keys. In particular, we need to generate the keywords whenever the actor is restarted.

       When the actor is started or some parts of it are reloaded:

      • load persisted (date, pos)
      • read actual motor positions from the controller
      • if persisted and actual positions match, declare positions ok (i.e. set home flags to OK) and generate motor and date keys. This will be the normal case.
      • if actual positions are real (> 0) but do not match the persisted positions, scream and invalidate everything.
      • for the case when actual positions are == 0 and so indicate a power-cycled controller, add a command to allow human to declare that persisted positions are good, and to set the controller positions from them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cloomis cloomis
                Reporter:
                cloomis cloomis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: