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

Update the Rotator GUI to be TCP/IP Client

    XMLWordPrintable

    Details

      Description

      Update the rotator GUI to be TCP/IP client instead of the server.

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            Get the connection information:

            Nov  2 20:34:01 rot2 runmain: SMLNK init complete
            Nov  2 20:34:01 rot2 runmain: Waiting for the DDS Cmd connection at port 5571.
            Nov  2 20:34:01 rot2 runmain: Waiting for the DDS telemetry connection at port 5570.
            Nov  2 20:34:01 rot2 runmain: The state of GUI telemetry server is connected. socket = 12.
            Nov  2 20:34:01 rot2 runmain: Get the connection from: 10.9.57.224.
            Nov  2 20:34:01 rot2 runmain: Waiting for the GUI telemetry connection at port 5580.
            Nov  2 20:34:01 rot2 runmain: Connection is on in the GUI command server.
            Nov  2 20:34:01 rot2 runmain: Get the connection from: 10.9.57.224.
            Nov  2 20:34:01 rot2 runmain: Waiting for the GUI Cmd connection at port 5581.
            

            Commanding information:

            Nov  2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000004, cm
            d=00008000 ,parameter1 = 2.000000, parameter2 = -0.000000
            Nov  2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000003, cm
            d=00008000 ,parameter1 = 1.000000, parameter2 = -0.000000
            Nov  2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000002, cmd=00008000 ,parameter1 = 7.000000, parameter2 = -0.000000
            Nov  2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000001, cmd=00008003 ,parameter1 = 2.000000, parameter2 = -0.000000
            Nov  2 20:34:01 rot2 runmain: SMLNK init complete
            

            Closing information:

            Nov  2 20:34:01 rot2 kernel: EtherCAT WARNING 0: 1 datagram UNMATCHED!
            Nov  2 20:34:01 rot2 kernel: EtherCAT 0: Released.
            Nov  2 20:34:01 rot2 kernel: EtherCAT 0: Starting EtherCAT-IDLE thread.
            Nov  2 20:34:01 rot2 kernel: EtherCAT 0: Master thread exited.
            Nov  2 20:34:01 rot2 kernel: EtherCAT 0: Releasing master...
            Nov  2 20:34:01 rot2 runmain: Closing the GUI command server.
            Nov  2 20:34:01 rot2 runmain: Closing the GUI telemetry server.
            Nov  2 20:34:01 rot2 runmain: Closing the DDS command server.
            Nov  2 20:34:01 rot2 runmain: Closing the DDS telemetry server.
            Nov  2 20:34:01 rot2 runmain: GUI telemetry socket being closed.
            Nov  2 20:34:01 rot2 runmain: Shutting down wrapper, see /var/log/messages.
            Nov  2 20:34:01 rot2 runmain: GUI has disconnected the CMD Socket. Existing.
            

            Show
            ttsai Te-Wei Tsai added a comment - - edited Get the connection information: Nov 2 20:34:01 rot2 runmain: SMLNK init complete Nov 2 20:34:01 rot2 runmain: Waiting for the DDS Cmd connection at port 5571. Nov 2 20:34:01 rot2 runmain: Waiting for the DDS telemetry connection at port 5570. Nov 2 20:34:01 rot2 runmain: The state of GUI telemetry server is connected. socket = 12. Nov 2 20:34:01 rot2 runmain: Get the connection from: 10.9.57.224. Nov 2 20:34:01 rot2 runmain: Waiting for the GUI telemetry connection at port 5580. Nov 2 20:34:01 rot2 runmain: Connection is on in the GUI command server. Nov 2 20:34:01 rot2 runmain: Get the connection from: 10.9.57.224. Nov 2 20:34:01 rot2 runmain: Waiting for the GUI Cmd connection at port 5581. Commanding information: Nov 2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000004, cm d=00008000 ,parameter1 = 2.000000, parameter2 = -0.000000 Nov 2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000003, cm d=00008000 ,parameter1 = 1.000000, parameter2 = -0.000000 Nov 2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000002, cmd=00008000 ,parameter1 = 7.000000, parameter2 = -0.000000 Nov 2 20:34:01 rot2 runmain: Received 18 bytes : 0x5555, counter=0x00000001, cmd=00008003 ,parameter1 = 2.000000, parameter2 = -0.000000 Nov 2 20:34:01 rot2 runmain: SMLNK init complete Closing information: Nov 2 20:34:01 rot2 kernel: EtherCAT WARNING 0: 1 datagram UNMATCHED! Nov 2 20:34:01 rot2 kernel: EtherCAT 0: Released. Nov 2 20:34:01 rot2 kernel: EtherCAT 0: Starting EtherCAT-IDLE thread. Nov 2 20:34:01 rot2 kernel: EtherCAT 0: Master thread exited. Nov 2 20:34:01 rot2 kernel: EtherCAT 0: Releasing master... Nov 2 20:34:01 rot2 runmain: Closing the GUI command server. Nov 2 20:34:01 rot2 runmain: Closing the GUI telemetry server. Nov 2 20:34:01 rot2 runmain: Closing the DDS command server. Nov 2 20:34:01 rot2 runmain: Closing the DDS telemetry server. Nov 2 20:34:01 rot2 runmain: GUI telemetry socket being closed. Nov 2 20:34:01 rot2 runmain: Shutting down wrapper, see /var/log/messages. Nov 2 20:34:01 rot2 runmain: GUI has disconnected the CMD Socket. Existing.
            Hide
            ttsai Te-Wei Tsai added a comment -

            I can put the rotator into the Enabled state and get the telemetry. I can also put the DDS control even no connection with CSC yet:

            Show
            ttsai Te-Wei Tsai added a comment - I can put the rotator into the Enabled state and get the telemetry. I can also put the DDS control even no connection with CSC yet:
            Hide
            ttsai Te-Wei Tsai added a comment -

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

            Thanks!

            Show
            ttsai Te-Wei Tsai added a comment - Please help to review the PR: https://github.com/lsst-ts/ts_rotator_gui/pull/14 Thanks!
            Hide
            ttsai Te-Wei Tsai added a comment -

            Put into reviewed because Russell had approved the PR in GitHub.

            Show
            ttsai Te-Wei Tsai added a comment - Put into reviewed because Russell had approved the PR in GitHub.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Russell Owen
              Watchers:
              Russell Owen, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.