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



CB SCA CurrentSrc

With this panel the CurrSrc values from the DB can be applied on the SfFeeDuHalfRob DP.

$ WCCOAui -proj SCDAQFEE -p sfFeeApplyCurrSrc.pnl&



* 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>


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:


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.


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.


Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf CalibResultsViewer.pdf r1 manage 319.0 K 2023-06-05 - 15:46 KarolPoplawski  
PDFpdf Installing_6_WinCC_projects_for_SciFi_FE.pdf r1 manage 458.0 K 2023-02-22 - 12:34 TonDamen Recipe for installing and configuring FE WinCC projects from scratch
PDFpdf RegRecipeView_ASIC.pdf r1 manage 927.7 K 2023-06-05 - 15:46 KarolPoplawski  
PDFpdf RegRecipeView_CB.pdf r1 manage 417.5 K 2023-06-05 - 15:46 KarolPoplawski  
PDFpdf RegRecipeView_MB.pdf r1 manage 621.4 K 2023-06-05 - 15:46 KarolPoplawski  
PDFpdf RunParImportTool.pdf r1 manage 339.1 K 2022-07-08 - 15:31 KarolPoplawski  
PDFpdf RunParViewer.pdf r1 manage 376.8 K 2023-06-05 - 15:46 KarolPoplawski  
PNGpng Schermafbeelding_2022-06-13_om_16.43.59.png r1 manage 112.8 K 2022-06-13 - 16:44 TonDamen  
PDFpdf Usage_of_the_Scan_Creator.pdf r1 manage 325.3 K 2023-04-06 - 16:48 TonDamen  
PDFpdf User_manual_for_Expert_Recipe_Creator.pdf r1 manage 840.1 K 2022-03-18 - 17:06 KarolPoplawski  
PDFpdf User_manual_for_Recipe_Creator.pdf r1 manage 1034.2 K 2022-07-15 - 16:42 KarolPoplawski  
PDFpdf User_manual_for_Recipe_Destructor.pdf r1 manage 390.8 K 2022-09-21 - 13:24 KarolPoplawski  
PDFpdf scan_implementation.pdf r2 r1 manage 968.7 K 2022-03-14 - 13:26 TonDamen Slides on the Scan Creator
Edit | Attach | Watch | Print version | History: r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r26 - 2023-06-05 - KarolPoplawski
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback