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

Update the M2 SAL Interface Based on the Latest XML File in Phase 5

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • ts_main_telescope
    • 3
    • TSSW Sprint - Jan 4 - Jan 18, TSSW Sprint - Jan 18 - Feb 1
    • Telescope and Site
    • No

    Description

      Update the M2 SAL interface based on the latest xml file. After the summit test at Feb, 2020, 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 to support the new telemetries. This task is in the phase 5.

      Attachments

        1. getDisplacementSensors_sal.png
          getDisplacementSensors_sal.png
          23 kB
        2. getIlcData_sal.png
          getIlcData_sal.png
          22 kB
        3. getPositionIMS_sal.png
          getPositionIMS_sal.png
          28 kB
        4. getPowerStatus_sal.png
          getPowerStatus_sal.png
          25 kB
        5. guiDisplacementSensors.png
          guiDisplacementSensors.png
          64 kB

        Issue Links

          Activity

            ttsai Te-Wei Tsai added a comment - - edited

            Telemetry existed in m2ms_outgoingSAL.vi:
            1. position
            2. axialForce
            3. tangentForce
            4. temperature
            5. zenithAngle
            6. axialActuatorSteps
            7. tangentActuatorSteps
            8. axialEncoderPositions
            9. tangentEncoderPositions

            Telemetry not existed:
            1. positionIMS (done, not tested yet)
            2. ilcData (done, tested)
            3. displacementSensors (done, not tested yet)
            4. forceBalance
            5. netForcesTotal
            6. netMomentsTotal
            7. powerStatus (done, tested)

            ttsai Te-Wei Tsai added a comment - - edited Telemetry existed in m2ms_outgoingSAL.vi : 1. position 2. axialForce 3. tangentForce 4. temperature 5. zenithAngle 6. axialActuatorSteps 7. tangentActuatorSteps 8. axialEncoderPositions 9. tangentEncoderPositions Telemetry not existed: 1. positionIMS (done, not tested yet) 2. ilcData (done, tested) 3. displacementSensors (done, not tested yet) 4. forceBalance 5. netForcesTotal 6. netMomentsTotal 7. powerStatus (done, tested)
            ttsai Te-Wei Tsai added a comment -

            Add the new telemetry cases (7 cases) in m2ms_outgoingSAL.vi.

            ttsai Te-Wei Tsai added a comment - Add the new telemetry cases (7 cases) in m2ms_outgoingSAL.vi .
            ttsai Te-Wei Tsai added a comment - - edited

            The formula to transform the independent measurement system (IMS) reading to mirror's position can follow: a24_position_sensors.ipynb.

            Bo suggested to use the following file for the calculation of position by IMS: disp2dof.txt. The following file is needed: dispOffsets.txt.

            ttsai Te-Wei Tsai added a comment - - edited The formula to transform the independent measurement system (IMS) reading to mirror's position can follow: a24_position_sensors.ipynb . Bo suggested to use the following file for the calculation of position by IMS: disp2dof.txt . The following file is needed: dispOffsets.txt .
            ttsai Te-Wei Tsai added a comment - - edited

            Get the telemetry of ILC data:

            Get the telemetry of power status:

            Get the displacement sensors:

            Get the position by IMS:

            ttsai Te-Wei Tsai added a comment - - edited Get the telemetry of ILC data: Get the telemetry of power status: Get the displacement sensors: Get the position by IMS:
            ttsai Te-Wei Tsai added a comment -

            Use the polymorphic SAL_broadcast_event.vi and SAL_broadcast_tel.vi in Model class.

            ttsai Te-Wei Tsai added a comment - Use the polymorphic SAL_broadcast_event.vi and SAL_broadcast_tel.vi in Model class.
            ttsai Te-Wei Tsai added a comment -

            Please help to review the PR:
            https://github.com/lsst-ts/ts_mtm2/pull/28

            In this update, I did the followings:
            1. Use the polymorphic SAL_broadcast_event.vi and SAL_broadcast_tel.vi in Model class.
            2. Add the support of following SAL telemetry: powerStatus, ilcData, displacementSensors, and positionIMS.

            Thanks!

            ttsai Te-Wei Tsai added a comment - Please help to review the PR: https://github.com/lsst-ts/ts_mtm2/pull/28 In this update, I did the followings: 1. Use the polymorphic SAL_broadcast_event.vi and SAL_broadcast_tel.vi in Model class. 2. Add the support of following SAL telemetry: powerStatus, ilcData, displacementSensors, and positionIMS. Thanks!
            dmills Dave Mills added a comment -

            More useful data publication!

            dmills Dave Mills added a comment - More useful data publication!

            People

              ttsai Te-Wei Tsai
              ttsai Te-Wei Tsai
              Dave Mills
              Dave Mills, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.