Skip to content
Snippets Groups Projects
  1. Dec 20, 2024
  2. Dec 04, 2024
  3. Dec 03, 2024
  4. Nov 22, 2024
  5. Nov 15, 2024
  6. Nov 14, 2024
  7. Jul 31, 2024
  8. Jul 30, 2024
  9. Jul 29, 2024
  10. Jul 16, 2024
    • Marco Filho's avatar
      Adapt record names to fir naming pattern · 8b038174
      Marco Filho authored
      Now, for VMM, the pattern is:
      $(R)$(H)$(V)$(C)$(CH)
      
      R: Usually "NDet-VMMHYB-00". No colon after.
      H: Hybrid number in range 0-5
      V: VMM chip number in range 0-1
      C: Colon Between device name and property Should be ":" but is a macro in case anyone
         decides that shouldn't be there anymore.
      CH: Channel/register being set. Can be ST, SL, SC, STH, SM or SMX
      
      Also, to make naming more visible and dynamic, stop using substitutions file.
      8b038174
  11. Jul 15, 2024
    • Marco Filho's avatar
      Load records in st.cmd · a6bfa25e
      Marco Filho authored
      Until now, records were only being loaded by local changes in st.cmd file.
      This commit adds channels.substitutions and channels.template to makefile,
      and loads its expansion in the st.cmd.
      a6bfa25e
    • Marco Filho's avatar
      Add SMX channel · 1369fe9c
      Marco Filho authored
      Same as previous commits.
      Basically add a list of EPICS parameters for each SMX channel and register, for each Hybrid-VMMChip pair.
      List is indexed by Hybrid and VMM number.
      
      Records are created with .sub file to avoid useless code repetition.
      1369fe9c
    • Marco Filho's avatar
      Add SM register · dceed5fc
      Marco Filho authored
      Nothing new, same stuff as the last previous commits.
      dceed5fc
    • Marco Filho's avatar
      Add sth registers · 5ebf7a02
      Marco Filho authored
      5ebf7a02
    • Marco Filho's avatar
      Add SL channel · 28b76f39
      Marco Filho authored
      This commit makes it possible to change all 64 SL registers for a given Hybrid-VMM pair.
      28b76f39
    • Marco Filho's avatar
      Merge branch 'SC-channel' into ICSHWI-18047-set-channels · 260668b7
      Marco Filho authored
      This is the first register to be added to the registers map in vmm_tbl.h
      The merged branch also adds an easier way of adding new registers, so the next ones
      should have smalled commits, probably.
      260668b7
    • Marco Filho's avatar
    • Marco Filho's avatar
      Fix register names in maps · a145fe1d
      Marco Filho authored
      The map keys are going to be used as register names
      in the setRegister function, so they should be lowercase.
      a145fe1d
    • Marco Filho's avatar
      Add error message · 72b7c0ae
      Marco Filho authored
      If for some reason findRegister cannot find what VMM and Hybrid should it operate into,
      error message should help the poor soul who is operating IOC at the time.
      72b7c0ae
    • Marco Filho's avatar
      Use map to organize registers. Add SC register. · e1c7216e
      Marco Filho authored
      This commit organizes all possible register parameter lists in a map.
      
      This is so findRegister can search each register map from a single data structure
      instead of having to hardcode every new register parameter list in the findRegister function.
      
      Now, to add a new register, developer should only need to:
      
        1 - Create the register parameter list and add it to the map in vmm_tbl.h:39-41
        2 - ... I think that's it(?)
      
      Also, asynPrint should tell which hybrid, vmm and register are being affected by the operation now.
      e1c7216e
    • Marco Filho's avatar
      Make register name dynamic · 4d3389a8
      Marco Filho authored
      ST register is not hardcoded into template file anymore.
      This will make it easier to add new registers, I hope.
      4d3389a8
Loading