[INSTRM-2092] Check mask of Broken Fibers in xml file Created: 29/Oct/23 Updated: 26/Nov/23 Resolved: 24/Nov/23 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | pfs_instdata |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | yuki.moritani | Assignee: | chyan |
| Resolution: | Done | Votes: | 0 |
| Labels: | near-term | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Under 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. |
| Comments |
| Comment by chyan [ 24/Nov/23 ] |
|
This issue is fixed with new XML file. |
| Comment by yuki.moritani [ 26/Nov/23 ] |
|
Have you upload the new XML file to pfs_instdata? I couldn't find here.. (I'm sorry if I missed something..) https://github.com/Subaru-PFS/pfs_instdata/tree/master/data/pfi/modules/ALL
|