Skip to content
Snippets Groups Projects
  1. Jan 13, 2025
  2. Jan 10, 2025
  3. Jan 09, 2025
    • Marco Filho's avatar
      Add enable/disable option. Add all records. · d2922ff9
      Marco Filho authored
      Added enable/disable option, which now requires for all records to be
      instantiated so we can properly communicate.
      
      This particular IOC spits some error messages with the current test
      setup because it only has two hybrids.
      d2922ff9
    • Marco Filho's avatar
      Improve logging and IOC messages. · 97c533c3
      Marco Filho authored
      Added logging details to several functions. Also added log messages to
      IOCMessage parameter.
      97c533c3
    • Marco Filho's avatar
      Style: run pre-commit · 2d73f745
      Marco Filho authored
      2d73f745
    • Marco Filho's avatar
      Fix naming convention · 0443c472
      Marco Filho authored
      As noted on st.cmd, instead of naming records <Device>:HybN we will name
      them <Device><N>:<Property> (So the number is actually part of the
      device).
      
      So records with two digits refer to the whole IOC, records with three
      digits refer to hybrid-specific parameters and records with four digits
      refer to VMM3A specific parameters.
      0443c472
  4. Jan 08, 2025
  5. Jan 07, 2025
  6. Jan 03, 2025
    • Marco Filho's avatar
      Add missing PINI · 1a04afb6
      Marco Filho authored
      1a04afb6
    • Marco Filho's avatar
      Add SD registers. · 85fd0868
      Marco Filho authored
      Turns out it wasn't that different from others. All it needs is to
      change a bo record to ao.
      85fd0868
    • Marco Filho's avatar
      Remove unused registers. · c46f32e0
      Marco Filho authored
      c46f32e0
    • Marco Filho's avatar
      Add SC, SL, STH, SM and SMX parameters. · ebc67c74
      Marco Filho authored
      Didn't add SD because the mechanism is a bit different.
      ebc67c74
    • Marco Filho's avatar
      MAJOR REFACTOR · 9fcb1f57
      Marco Filho authored
      This commit was done with an inescrupulous "git add ." after several
      radical modifications.
      
      Anyway, the API was radically modified and basically the old way the
      code worked does not make any sense anymore.
      
      The desired architecture is the following: the API is going to be used
      as a class component. Each parameter will be created according to the
      desired number of enabled hybrids.
      
      Each parameter should use one simple API function. No information about
      the VMM or hybrids itself is stored in the VMMTbl class unless extremely
      needed.
      
      This commit leaves a few old parameters that should be removed in the
      future such as ADC_VALUE_VMM1, READ_ADC_VMMS, etc. This is only to serve
      as a reminder to add those later.
      9fcb1f57
  7. Dec 03, 2024
  8. Nov 15, 2024
  9. Nov 14, 2024
  10. Jul 29, 2024
    • Marco Filho's avatar
      Use substitution file to expand channels. · 3eeb2f2b
      Marco Filho authored
      Substitution file is used in module build to set channel names, since that shouldn't change
      too much with time and particular detector.
      
      VMM and Hybrid numbers are left to be changed in the st.cmd file since that can change more often.
      3eeb2f2b
  11. 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
  12. Jul 15, 2024
    • 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
      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
Loading