Skip to content
Snippets Groups Projects
  1. Jan 09, 2025
    • 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
  2. Jan 03, 2025
    • 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
  3. Jul 15, 2024
    • Marco Filho's avatar
      Make register ST channel set for correct Hybrid/VMM pair. · d408299e
      Marco Filho authored
      Before this, Any caput to AllST-S record would only set channels values to
      hybrid 0, vmm 0 because of hardcoded values.
      
      This commit makes the vmmST_ an array with epics parameters.
      The function getPair discovers the HYBRID-VMM pair for the parameter
      that was called and sets the correct pair register's values.
      
      Also, records are loaded with .sub files so we don't need to keep repeating
      record names with different numbers.
      
      All have been tested and works.
      d408299e
  4. Jul 12, 2024
    • Marco Filho's avatar
      Add bo record to set every ST channel all at once. · 629d181b
      Marco Filho authored
      Before this, you would need to put array of values into ST-S.
      Now you can simply put 1 or 0 into AllST-S and it will set all channels.
      
      OOPT "on change" field is needed because for some reason without it even
      if you put PINI=NO in all these three ST-S records, it processes on IOC
      initialization, which I don't think is desired.
      629d181b
    • Marco Filho's avatar
      Add initial set channels array · 95201d33
      Marco Filho authored
      Add array of 64 elements. When you put into it, the nth element will
      set the nth ST channel of VMM to the value put to it.
      
      Added writeInt8Array method.
      Added the ST-T aao record.
      Added vmmST parameter to VMM class.
      Removed TO-DO comment that was about adding this functionality.
      95201d33
  5. May 27, 2024
Loading