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

fps moveToHome noMCSexposure option doesn't work

    XMLWordPrintable

    Details

      Description

      Following help, I ran fps moveToHome phi noMCSexposure command, but noMCSexposure was not passed.

       

      2024-05-31 15:00:45.361Z cmds 20 Actor.py:524 new cmd: moveToHome phi
      2024-05-31 15:00:45.362Z cmds 20 CommandLink.py:122 > 2 52 i text="Setting moveToHome expTime=None"
      2024-05-31 15:00:45.362Z cmdr 20 CmdrConnection.py:218 queueing command gen2(getVisit caller=fps)
      2024-05-31 15:00:45.595Z cmdr 20 CmdrConnection.py:212 command returned gen2 'getVisit caller=fps'
      2024-05-31 15:00:45.834Z cmds 20 CommandLink.py:122 > 2 52 i pfsConfig=0x1622c5aecbf55551,111381,inProgress
      2024-05-31 15:00:45.845Z cobraCoach 20 cobraCoach.py:1064 home cobras: theta=0, phi=-5000
      2024-05-31 15:00:58.656Z camera 20 mcsActorCam.py:65 calling mcs expose object expTime=0.80 frameId=11138100 doCentroid doFibreID with cmd=Command(source=7f7b04410a90 cmdr=client.v320646 cid=2 mid=52 cmd=CMD('moveToHome'=[];[{KEY(phi)=[]}])) from <Thread(Thread-1, started 140165793011456)>
      2024-05-31 15:00:58.657Z cmdr 20 CmdrConnection.py:218 queueing command mcs(expose object expTime=0.80 frameId=11138100 doCentroid doFibreID)
      2024-05-31 15:01:02.620Z cmdr 20 CmdrConnection.py:212 command returned mcs 'expose object expTime=0.80 frameId=11138100 doCentroid doFibreID'
      2024-05-31 15:01:02.620Z camera 20 mcsActorCam.py:80 MCS frame ID=11138100 filename=/data/raw/2024-05-31/mcs/PFSC11138100.fits
      2024-05-31 15:01:02.620Z camera 20 mcsActorCam.py:81 Time for exposure = 3.963994.
      2024-05-31 15:01:02.621Z camera 20 mcsActorCam.py:183 Linking to /data/raw/2024-05-31/mcs/PFSC11138100.fits from /data/MCS/20240531_008/data/PFSC11138100.fits
      2024-05-31 15:01:02.623Z camera 20 mcsActorCam.py:154 Getting positions from DB for frame 11138100
      2024-05-31 15:01:02.633Z opdb 20 opdb.py:440 fetching sql: COPY (SELECT * from mcs_data WHERE mcs_frame_id=11138100) TO STDOUT WITH (FORMAT csv, HEADER)
      2024-05-31 15:01:02.642Z camera 20 camera.py:179 mcs data 1
      2024-05-31 15:01:02.678Z camera 20 mcsActorCam.py:161 PFSC11138100: 0 spots, get: 3.964 saveAndStack: 0.002 db: 0.020 spots: 0.035total: 4.021
      2024-05-31 15:01:02.678Z cobraCoach 20 cobraCoach.py:383 Exposure done and filename = 11138100
      2024-05-31 15:01:02.689Z opdb 20 opdb.py:440 fetching sql: COPY (select * from cobra_match where mcs_frame_id = 11138100) TO STDOUT WITH (FORMAT csv, HEADER)
      2024-05-31 15:01:02.698Z cobraCoach 20 cobraCoach.py:399 Returing result from matching table ncen=0
      2024-05-31 15:01:02.699Z cmds 20 CommandLink.py:122 > 2 52 f text="command failed: IndexError('index 0 is out of bounds for axis 0 with size 0') in moveToHome() at /software/mhs/products/Linux64/ics_cobraCharmer/1.4.9d/python/ics/cobraCharmer/cobraCoach/cobraCoach.py:1091"
      

      Accordingly, without the fibers illuminated, command failed as above.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: