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
      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
    • 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 20, 2024
  8. Dec 04, 2024
  9. Dec 03, 2024
  10. Nov 22, 2024
  11. Nov 15, 2024
  12. Nov 14, 2024
    • Marco Filho's avatar
      Change asynPort to VMM · 1c9d6fc5
      Marco Filho authored
      According to new VmmTblConfig definition
      1c9d6fc5
    • Marco Filho's avatar
      Use VmmTblAPI instead of vmm_config. · e92083bd
      Marco Filho authored
      VmmTbl now inherits from asynPortDriver instead of FrontEndBase.
      It has VmmTblAPI as a class component.
      
      Thus, everything that used pRMM->foo(); such as pRMM->setStringParam(addr_list, vmmHybFwVersion_[hyb], pVMMConfig.readFwVersion(hyb).c_str());
      are simply foor(); (equivalent to this->foo();)
      
      Everything that used pVMMConfig.foo(); now uses pVmmTblAPI->foo();
      
      configFEN had its name changed to configFE since the last configFE did
      nothing.
      Old configFE was removed.
      
      In the end, findRegister() was not moved to VmmTblAPI because it seems
      to be searching for a given register name based on an epics parameter.
      e92083bd
    • Marco Filho's avatar
      Remove headers from makefile · e8d4d659
      Marco Filho authored
      As far as I know this would only be used if we wanted to install the
      module and use it's headers.
      
      I don't see why we would do that now.
      e8d4d659
Loading