K. Arai
Based on a discussion with Jeff K, change of the channel names from H2:SUS-*-*-OSEMOUTF-*
to H2:SUS-*-*-COILOUTF-*
was carried out.
The point is that this naming should be better as they are actually connected to the coils, not to the OSEM sensors.
- ITMX/ITMY/FMX/FMY/BS models were influenced and action has been made.
- Scripts using OSEMOUTF are to be influenced. (need attention)
- Related simulink models were updated and running with green status
- Related MEDM screen were updated
- Related filter definitions (.txt files), daq configuration for slow and fast channels (.ini files) were updated. (i.e. the same filters as before have been loaded).
Detailed procedure
1. Update the simulink models for QUAD and BSFM
Any "OSEMOUTF" related names and descriptions were changed to "COILOUTF" and so on.
The modification has been done on the following files in /opt/rtcds/lho/h2/userapps/release/sus/common/models/
BSFM_MASTR.mdl
QUAD_MASTR.mdl
2. Replace the filter names in the "chans" file
Before building and installing the new models, the filter names in the "chans" file should be replaced
as the installation script tries to inheret the previous configuration. If this replacement is not done before the installation,
the previous filter coefficients are lost in the new files, and the entry for the new blank filters are created.
Once this happens, we will have to move the filter definitions from the old files with foton (one by one).
This is painful. So we need this operation!
Any instances of "OSEMOUTF" in the following files are replaced to "COILOUTF"
(in /opt/rtcds/lho/h2/chans/
)
H2SUS_ITMX.txt
H2SUS_ITMY.txt
H
2SUS_FMX.tx
t
H
2SUS_FMY.tx
t
H2SUS_BS.txt
3. Replace the channel names in the daq configuration files
Also the DAQ configuration should be taken over at the build for the same reason.
This should be done for both of the fast and slow channels.
Any instances of "OSEMOUTF" in the following files are replaced to "COILOUTF"
(in /opt/rtcds/lho/h2/chans/daq/
)
Slow channels:
H2EDCU_SUSITMX.ini H2EDCU_SUSITMY.ini H2EDCU_SUSFMX.ini H2EDCU_SUSFMY.ini H2EDCU_SUSBS.ini
Fast channels:
H2SUSITMX.ini
H2SUSITM
Y.ini
H2SUSFMX
.ini
H2SUSFM
Y.ini
H2SUSBS
.ini
4. Bulld the models
h2susitmx, h2susitmy, h2susfmx, h2susfmy were built and installed. I have noticed that there has been no BS model yet.
5. Restart the realtime codes
At h2susb478
, h2iopsusb478, h2susitmx, h2susitmy have been restarted.
At h2susb78
, h2iopsusb78, h2susfmx, h2susfmy have been restarted,
6. Restart the data concentrator
The daq status signals returned to green.
7. Update MEDM screens
The medm screens in the following directories were to be updated
/opt/rtcds/lho/h2/userapps/release/sus/common/medm/QUAD/
/opt/rtcds/lho/h2/userapps/release/sus/common/medm/BSFM/
a. The files which contains OSEMOUT in their names were renamed
(in BSFM)
SUS_CUST_BSFM_M1_COILOUTF.adl
SUS_CUST_BSFM_M2_COILOUTF.adl
(in QUAD)
SUS_CUST_QUAD_L1_COILOUTF.adl
SUS_CUST_QUAD_L2_COILOUTF.adl
SUS_CUST_QUAD_M0_COILOUTF.adl
SUS_CUST_QUAD_R0_COILOUTF.adl
b. change any instances of "OSEMOUT" to "COILOUT".
This includes the replacement of the channel names as well as the filenames.
(in BSFM)
SUS_CUST_BSFM_OVERVIEW.adl
SUS_CUST_BSFM_M1_COILOUTF.adl
SUS_CUST_BSFM_M2_COILOUTF.adl
(in QUAD)
SUS_CUST_QUAD_OVERVIEW.adl
SUS_CUST_QUAD_R0.adl
SUS_CUST_QUAD_L1_COILOUTF.adl
SUS_CUST_QUAD_L2_COILOUTF.adl
SUS_CUST_QUAD_M0_COILOUTF.adl
SUS_CUST_QUAD_R0_COILOUTF.adl
8. Confirm dataviewer and each medm screen shows right things
9. Commit the Simulink models and MEDM screens to the svn