Closed isaachilly closed 3 weeks ago
Comments: After speaking with Freddie we decided to create 2 macros one for channel 1 and one for channel 2. How scientists use alarms and how they COULD use them gets too complicated to foresee and so if this needs adapting/building upon etc then we said so be it, we can only do what we can now.
[!NOTE] Ticket is to allow setting the alarm severity of underrange pressure channels via IOC macro. Premise is that when a vacuum is being pulled, a pressure that is less than a threshold set is not something to be alarmed by but rather, to a degree, encouraged.
Ticket8341_set_alarm_severity_based_on_macro
C:\Instrument\Apps\EPICS\config_env.bat && make clean uninstall && make
in C:\Instrument\Apps\EPICS\ioc\master\TPG300\
C:\Instrument\Apps\EPICS\config_env.bat && make clean uninstall && make
in C:\Instrument\Apps\EPICS\support\TPG\master\
C:\Instrument\Apps\EPICS\support\IocTestFramework\master\common_tests\tpgx00.py
with C:\Instrument\Apps\EPICS\support\IocTestFramework\run_all_tests.bat -t tpg300 -tm DEVSIM -a
As a developer make a PV (e.g., TPG300:PressureAlarmControl) that fans out to the limits of the pressure PVs A2 and B2 a normal range or a very large range based on if the vacuum is good so as to not raise an alarm when vacuum is fine.
Acceptance Criteria
Extra Information
Umbrella ticket:
How to Test
verbose instructions for reviewer to test changes (Add before making a PR) time in planning 00:38 23/5/24