Reports until 13:46, Friday 15 March 2024
H1 CDS
david.barker@LIGO.ORG - posted 13:46, Friday 15 March 2024 (76432)
New front end model checker code

I've written a new check_model_changes program (used to be called check_model_daq_changes) to additionally check for any IPC addition or removal.

If an IPC sender has been removed, the code gives the list running models which currently have receivers as a reminder that they should also be changed.

The code is designed to be ran between running "rtcds build" and "rtcds install" to catch any issues before the production files are overwritten.

If the list of DAQ channels which have been added/removed is long, the code defaults to showing the first ten channels. The --all argument gives the full list.

For example, after building the h1susitmx and h1isiitmx models on h1build:

david.barker@opslogin0: check_model_changes h1susitmx
--------------------- file times ----------------------
Fri Mar 15 13:35:17 2024 = Model build time
Tue Mar 12 14:47:02 2024 = Current configuration load time
 
DAQ configuration is changed, processing...

++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_OFFSET added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_GAIN added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_LIMIT added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_TRAMP added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_SWREQ added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_SWMASK added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_INMON added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_EXCMON added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_OUT16 added to the DAQ
++: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RMSLP_F1_OUTPUT added to the DAQ
++: ... plus 210 more slow channels ...
--: slow channel H1:SUS-ITMX_DACKILL_STATE removed from the DAQ 
--: slow channel H1:SUS-ITMX_DACKILL_RESET removed from the DAQ 
--: slow channel H1:SUS-ITMX_DACKILL_BPSET removed from the DAQ 
--: slow channel H1:SUS-ITMX_DACKILL_BPTIME removed from the DAQ 
--: slow channel H1:SUS-ITMX_DACKILL_PANIC removed from the DAQ 
--: slow channel H1:FEC-29_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN_TX removed from the DAQ 
--: slow channel H1:FEC-29_IPC_SUS_ITMX_M0R0_WDMON_STATE_SHMEM_TX removed from the DAQ 
--: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_SD_RMSMON removed from the DAQ 
--: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_RT_RMSMON removed from the DAQ 
--: slow channel H1:SUS-ITMX_R0_WD_OSEMAC_LF_RMSMON removed from the DAQ 
--: ... plus 19 more slow channels ...

Total number of DAQ changes = 249
(220 additions, 29 deletions)
 
IPC Senders have been removed
Please wait while ipc receiver database is generated...
----------------------------------------------------------------------------------------------------------------------------done 
IPC: 2 Removed Senders
     H1:FEC-29_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN NOTE: receiver in model(s) ['h1isiitmx']
     H1:FEC-29_IPC_SUS_ITMX_M0R0_WDMON_STATE_SHMEM NOTE: receiver in model(s) ['h1susitmpi']

david.barker@opslogin0: check_model_changes h1isiitmx
--------------------- file times ----------------------
Fri Mar 15 13:20:55 2024 = Model build time
Tue Mar 12 14:47:01 2024 = Current configuration load time
 
DAQ configuration is changed, processing...

--: slow channel H1:FEC-70_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN_ER removed from the DAQ 
--: slow channel H1:FEC-70_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN_ET removed from the DAQ 
--: slow channel H1:FEC-70_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN_PS removed from the DAQ 
--: slow channel H1:FEC-70_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN_RX removed from the DAQ 

Total number of DAQ changes = 4
(0 additions, 4 deletions)
 
IPC: 1 Removed Receiver:
     H1:FEC-70_IPC_SUS_ITMX_M0R0_WDMON_STATE_DOLPHIN