- Mar 10, 2025
-
-
Marco Filho authored
-
- Mar 07, 2025
-
-
Marco Filho authored
-
- Mar 06, 2025
-
-
Marco Filho authored
Add usage of warmInit. Add period IOCMessage scanning. See merge request !14
-
Marco Filho authored
-
Marco Filho authored
warmInit is now available.
-
- Mar 05, 2025
-
-
Marco Filho authored
Stop scanning when ring is not UP. See merge request !13
-
Marco Filho authored
unfortunately this mechanism cannot stop scanning in the initialization even if ring is not up, but will stop processing when not initializing the IOC.
-
Marco Filho authored
Add NTTable for seeing hybrids status. Minor changes. See merge request !12
-
Marco Filho authored
needs testing.
-
- Mar 04, 2025
-
-
Marco Filho authored
-
Marco Filho authored
It only works as fanout if records are passive scanned.
-
Marco Filho authored
-
- Mar 03, 2025
-
-
Marco Filho authored
-
- Feb 26, 2025
-
-
Marco Filho authored
-
- Feb 11, 2025
-
-
Marco Filho authored
Reformulate naming convention. Add global configs. See merge request !11
-
- Feb 10, 2025
-
-
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 :(
-
- Feb 05, 2025
-
-
Marco Filho authored
It was supposed to stay in the default 1 value.
-
- Feb 04, 2025
-
-
Marco Filho authored
Remove channels scanning. Closes ICSHWI-20078 See merge request !10
-
Marco Filho authored
There are 64 channel per parameter, 7 parameters per VMM, 2 VMMs per hybrid, up to 6 hybrids per FEN, up to 32 FENs per ring and up to 12 rings per RMM. We can't scan this without saturating the network card interface, so i removed it. It's now up to the user to force the read. We do have forwawrd links between the setpoint and readback records, however.
-
- Feb 03, 2025
-
-
Marco Filho authored
Add scanning. Lock scan during acquisition. See merge request !9
-
- Jan 28, 2025
-
-
Marco Filho authored
After talking more with the firmware developers, it became clear that we can actually read from the registers when VMM is acquiring, we can only not Set other parameters. I still leave this as a commit instead of rebasing/amending to make it easily reversible if we need it someday.
-
- Jan 27, 2025
-
-
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.
-
Marco Filho authored
-
Marco Filho authored
Scannig was not added until now because RMMAPI had an issue that made it scramble answers from the hardware if too much polling was made. This issue was fixed so we add scan now. In the channels array records, this called for a new record creation. This is because we need the asyn:READBACK info tag, which makes the readback from hardware and the setpoint record have the same values. So I guarantee that the record ending with R is the actual scanned parameter. I also removed the forward link from S to RB record to guarantee that the latest value we have in $(CH)-S record is still the setpoint. AnalogMon and ADCVal-R have PHAS 0 and 1 respectively to guarantee that we know what is the meaning of what we are reading.
-
- Jan 22, 2025
-
-
Marco Filho authored
-
- Jan 13, 2025
-
-
Marco Filho authored
Add polling to ADC value See merge request !8
-
Marco Filho authored
-
Marco Filho authored
For now I avoid polling too many records because of a behavior described in ticket ICSHWI-19975. However, this is an important parameter, so I decided to poll it.
-
Marco Filho authored
Major refactor See merge request !7
-
Marco Filho authored
In order for VMM channel records to be able to see "#CalcDISA" record, they need to know the prefix for Hybrid records. This new naming structure allows that.
-
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.
-
Marco Filho authored
-
- Jan 10, 2025
-
-
Marco Filho authored
For user to be able to visualize what values are converted into parameters.
-
Marco Filho authored
-
- Jan 09, 2025
-
-
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.
-
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.
-
Marco Filho authored
Added logging details to several functions. Also added log messages to IOCMessage parameter.
-
Marco Filho authored
-
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.
-
- Jan 08, 2025
-
-
Marco Filho authored
-