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

Check mask of Broken Fibers in xml file

    XMLWordPrintable

    Details

      Description

      Under INSTRM-1729 the schema of mask for the broken fiber changed to identify which part  of the fibers (i.e., Cable A, B, C) are broken.

      The idea was add another bit to identify the broken part, so `COBRA_INVISIBLE_MASK` and one of `FIBER_{ABC}_BROKEN` are raised for broken fibers.

      COBRA_OK_MASK = 0x0001 # a synthetic summary bit: 1 for good, 0 for bad.
       COBRA_INVISIBLE_MASK = 0x0002 # 1 if the fiber is not visible
       COBRA_BROKEN_THETA_MASK = 0x0004 # 1 if the phi motor do not work
       COBRA_BROKEN_PHI_MASK = 0x0008 # 1 if the theta motor does not work
       FIBER_A_BROKEN: 0x0010 # 5th bit is 1 if cable A is broken
       FIBER_B_BROKEN: 0x0020 # 6th bit is 1 if cable B is broken
       FIBER_C_BROKEN: 0x0040 # 7th bit is 1 if cable C is broken
      

      However, the latest xmlfile (ALL_final_20221113_mm.xml) show 0x0002 for the fibers broken at cable C, and 0x0010 for those broken at cable A.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: