FE
Machines, login
Problems, errors
Update Default Config Files
Note: If a previous configuration exists you may wish to backup it before proceeding.
Pull data from the ProdDB
- Execute CframeAssembly T L Q M H
- This will pull the configuration files from the data base and save them to /group/sf/var/tmp/T*L*Q*M*H*
- You then need to move the directory to /group/sf/var/tmp/dataProdDB
Master Board config files
- Go to /group/sf/etc/sfFee/MasterBoards/default
- Run python generate.py
Cluster Board config files
- Go to /group/sf/etc/sfFee/ClusterBoards/database
- Run python generate.py
PACIFIC Board config files
- Go to /group/sf/etc/sfFee/PacificBoards/default
- Run scifi40_pacificconfig /group/sf/var/dataProdDB/T*L*Q*M*H* --local
- This will create the config files in the current directory. You can also specify a different location by supplying the option -o
- Replace the wildcards with specific numbers if you don’t want to regenerate all config files
ScifiLocation file
Calibration
- Calibration from S-curves:
- LIS settings: /group/sf/etc/sfFee/MasterBoards/default
Monitoring
With this panel the
CurrSrc values from the DB can be applied on the
SfFeeDuHalfRob DP.
$ WCCOAui -proj SCDAQFEE -p sfFeeApplyCurrSrc.pnl&
Scans
* Design document (author Antonio) :
https://docs.google.com/document/d/1JwznAfTxE1daDNZj16qm4WQQpR-lsDfR/edit#heading=h.qsh70q
*
scan_implementation.pdf: Slides on the Scan Creator</verbatim>
Usage_of_the_Scan_Creator.pdf
Scan logging
Successful
ScanRuns are logged as XML file to /calib/sf/ScanConfig/RUN_NUMBER-SCAN_NAME-TIME_STAMP/scanrun.xml
A
WinCC manager scripts/sfFee/sfFeeScanLogger.ctl generates the XML file containing:
How it works
The implementation sfFee/sfFeeScanLogger.ctl is an entry in
WinCC Console on SFECS.
The FSM node "SF" is monitored for FSM state changes:
RUNNING
When the RUNNING state is entered, the RUN_TYPE is looked up in the the DP entries of type
SfFeeScan (previously created by the
ScanCreator panel). If it is found AND the mumber of steps N_STEPS given by the operator is > 1, the run is considered to be of type Scan.
READY
When the FSM state is entering the READY state AND the run was recognized as a Scan, the logfile is created,
Note that all other states between RUNNING and READY will discard the logging.
WinCC tools for DB and Recipes
Each tool can be run with the command: $WCCOAui -proj <project_name> -p sfFee/<tool_name_below> -iconBar -menuBar &
Group |
Tool |
Doc |
Short description |
Accessible |
All users |
sfFeeRcp/sfFeeRcpCreator.pnl |
Link |
Creating recipe |
SFECS |
Checks/debugging |
sfFeeRcp/feeRcpMb.pnl |
Link |
Contents of rcp, writings, readings for selected MB |
S(A/C)DAQFEET[1-3] |
|
sfFeeRcp/feeRcpCb.pnl |
Link |
Contents of rcp, writings, readings for selected CB |
S(A/C)DAQFEET[1-3] |
|
sfFeeRcp/feeRcpAsic.pnl |
Link |
Contents of rcp, writings, readings for selected ASIC |
S(A/C)DAQFEET[1-3] |
|
sfFeeDb/sfFeeDbRunParams.pnl |
Link |
DB values from RunParams tables - boards, runtypes |
SFECS; proj with DB |
|
sfFeeDb/sfFeeDbCalibTables.pnl |
Link |
DB values from ScanResults tables - boards |
SFECS; proj with DB |
Experts only |
sfFeeDb/sfFeeDbXmlImp.pnl |
Link |
Import RunParameters xml to DB |
proj with DB & memory |
|
sfFeeDb/sfFeeDbCalibImp.pnl |
|
Import ScanResults xml to DB |
proj with DB & memory |
|
sfFeeRcp/feeRcpCreator.pnl |
Link |
Creating same recipe for all boards |
S(A/C)DAQFEET[1-3] |
|
sfFeeRcp/feeRcpDestructor.pnl |
Link |
Removing recipes |
SFECS; (possible on 6) |
|
sfFeeDb/sfFeeDbImpToDU.pnl |
|
Import DB Current source & Vbias to DUs |
SFECS |
Nota bene: sfFeeDb/sfFeeDbCalibImp.pnl works like sfFeeDbXmlImp.pnl, but XMLs have different format (according to "Calibration Results" sections here
https://twiki.cern.ch/twiki/bin/view/LHCb/SciFiOnlineScanRuns)
*
User_manual_for_Expert_Recipe_Creator.pdf
*
RunParImportTool.pdf
*
User_manual_for_Recipe_Creator.pdf
*
User_manual_for_Recipe_Destructor.pdf
*
CalibResultsViewer.pdf
*
RegRecipeView_ASIC.pdf
*
RegRecipeView_CB.pdf
*
RegRecipeView_MB.pdf
*
RunParViewer.pdf
Installing 6 WinCC projects
In an attempt to improve the speed of RESET/CONFIGURE/STEP actions, the SFA and SFC FE controls will be spread over 6
WinCC projects.
Installing_6_WinCC_projects_for_SciFi_FE.pdf