Skip to content
Snippets Groups Projects
  1. Mar 05, 2025
  2. Feb 10, 2025
    • Marco Filho's avatar
      Reformulate naming convention. Add global configs. · 10df41b2
      Marco Filho authored
      hybrid.sub is created to add hybrid numbers to file, avoiding having to define that in st.cmd file.
      Similar thing is done for VMM chips, since it's always going to be 2 per hybrid.
      
      Add global configuration values. Global PVs should configure all parameters for all VMM FENS.
      Channel global configurations need to connect to asyn port in order to correctly initialize the array record :(
      10df41b2
  3. Jan 27, 2025
    • Marco Filho's avatar
      Add processing lock when acquiring · 5dab3e5d
      Marco Filho authored
      Now most pertinent RBV records are not processed when acquisition is
      ongoing.
      A few records like LinkStatus and IsAcquiring are still scanned for
      obvious reasons, but if we find out that this could not be the case, we
      change it.
      
      I still think this should also be treated in the API layer.
      
      ADCVal and AnalogMon should process in the correct order for us to know
      what we are reading.
      
      We use PHAS field to make sure everything is processed after we have
      checked that IsAcquiring is 0.
      5dab3e5d
    • Marco Filho's avatar
      Remove unneded variable · 883e794f
      Marco Filho authored
      883e794f
  4. Jan 13, 2025
  5. 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
      Fix wrong PV naming · 6d297cf9
      Marco Filho authored
      In this case the semicolon ended up being part of the property name in
      the db file. Of course, this is not good but I wanted to avoid having to
      add $(C)=':' for now.
      
      Its easy to change in the future if needed.
      6d297cf9
  6. Jan 08, 2025
  7. Dec 20, 2024
  8. Nov 15, 2024
  9. Nov 14, 2024
  10. Jul 30, 2024
    • Marco Filho's avatar
      Remove hardcoded filepath · 2ad6c0ed
      Marco Filho authored
      This does not mean that the configuration file will permanently stay on this folder/subfolder
      structure.
      
      It's just a way of letting things more easy to test and reproduce for now.
      2ad6c0ed
  11. 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
  12. 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
  13. 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
  14. May 27, 2024
  15. May 24, 2024
  16. Mar 26, 2024
  17. Mar 22, 2024
Loading