- Jan 13, 2025
-
-
Marco Filho authored
asyn READBACK tag allows for waveform record to be updated whenever the callback is called in code. Without this, OPIs usually can't properly put or get to uninitialized waveform records.
-
- Jan 03, 2025
-
-
Marco Filho authored
-
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.
-
- Jul 16, 2024
-
-
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.
-
- Jul 15, 2024
-
-
Marco Filho authored
ST register is not hardcoded into template file anymore. This will make it easier to add new registers, I hope.
-
Marco Filho authored
-
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.
-