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

hub actors keyword is not accurate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None

      Description

      In the spsClient, I'm displaying the actor status, the idea is to know which actor is actually online.

      basically, I have a callback on self.models['hub'].keyVarDict['actors'].

      each time an actor is connecting or disconnecting the hub, I get noticed and I update the matching widget.

      That's working well unless the actor is not disconnected properly, for instance when we power down the BEE, in that case, the hub keep thinking that the ccdActor is still connected.

      alefur@PFS-WS2:~$ oneCmd.py hub status
      2018-07-11T16:19:24.235 sent hub status
      2018-07-11T16:19:24.242 hub i version="need_to_read_git_version"
      2018-07-11T16:19:24.249 hub i actors=hub,keys,msg,ccd_r1,xcu_b1,ccd_b1,aitroom,dcb,breva,sac,spsait,sequencepanel
      2018-07-11T16:19:24.249 hub i commanders=client.v5,client.v48,client.v50,client.v221,client.v739,client.v866,nclient_1397,client.v1409,client.v1418,client.v1474,client.v1790,client.v1801,client.v1803,client.v1808,client.v1825,client.v1828,client.v1829
      2018-07-11T16:19:24.250 hub i users
      2018-07-11T16:19:24.250 hub : 
      alefur@PFS-WS2:~$ oneCmd.py ccd_r1 status
      2018-07-11T16:19:38.821 sent ccd_r1 status
      

      the hub doesn't return  a notarget and the command is stuck.

       

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: