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

Add visit argument to updateTelStatus

    XMLWordPrintable

    Details

      Description

      The tel_status table has a visit column, and rows are inserted by the gen2Actor's updateTelStatus command, which uses the gen2Actor's internal/latest visit value. But gen2Actor's visit is updated when new FPS/MCS/SPS exposures are started, which can happen before an SPS visit finishes. Which then breaks queries for all ag status for a given SPS visit.

      Add a visit= argument to updateTelStatus, so that the agcc, ag, and mcs actors can correctly group their status rows.

      One gotcha. The gen2Actor also maintains a sequence number for the rows within a visit. Need to figure out what to do about that.

        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:
                  Resolved: