===== Liste des processus ===== ==== SDCC ==== === Descriptions === { "ARGS": [], "ENV": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=41000" ], "NAME": "CCCSERVER", "PARAMETER": { "device": "DCCCCC01" <=== FTDI name }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Sdcc" } === Parameters === * device: The FTDI device name discovered with: sudo /opt/dhcal/bin/ListDevices.py === FSM & Commands === == FSM == Acccess to FTDI device _fsm->addTransition("OPEN","CREATED","OPENED",boost::bind(&LCccServer::open, this,_1)); Test of USB access to register _fsm->addTransition("INITIALISE","OPENED","INITIALISED",boost::bind(&lydaq::LCccServer::initialise, this,_1)); Send of apropriate Reset signals _fsm->addTransition("CONFIGURE","INITIALISED","CONFIGURED",boost::bind(&lydaq::LCccServer::configure, this,_1)); _fsm->addTransition("START","CONFIGURED","RUNNING",boost::bind(&lydaq::LCccServer::start, this,_1)); _fsm->addTransition("STOP","RUNNING","CONFIGURED",boost::bind(&lydaq::LCccServer::stop, this,_1)); _fsm->addTransition("STOP","CONFIGURED","CONFIGURED",boost::bind(&lydaq::LCccServer::stop, this,_1)); Back to OPEN state _fsm->addTransition("DESTROY","CONFIGURED","OPENED",boost::bind(&lydaq::LCccServer::open, this,_1)); Obsolete _fsm->addTransition("CMD","INITIALISED","INITIALISED",boost::bind(&lydaq::LCccServer::cmd, this,_1)); _fsm->addTransition("CMD","CONFIGURED","CONFIGURED",boost::bind(&lydaq::LCccServer::cmd, this,_1)); == Commands == Access a register * WRITEREG : //address// register address, //value// register value * READREG : //address// register address Dump the current log * JOBLOG : //lines// number of last lines to dump CCC signals: * PAUSE * RESUME * DIFRESET * CCCRESET ==== MDCC ==== === Description === { "ARGS": [], "ENV": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "DIM_DNS_NODE=lyosdhcal10", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/levbdim/lib:/opt/dhcal/lib:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/dim/linux:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/root/lib::/opt/dhcal/lcio/v02-00/lib/:$LD_LIBRARY_PATH", "WEBPORT=42000" ], "NAME": "MDCCSERVER", "PARAMETER": { "device": "MDCC01", <== FTDI name "spilloff": 1000000, <== Spill parameters "spillon": 20000, "spillregister": 64 }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Mdcc" } === Parameters === * device: the FTDI device ID * spillregister: MDCC mode * spillon: Length in 25 ns of the time window * spilloff: Length in 25 ns of the minimal interspill Important modes: * 8: Calibration mode for FEBV1 calibration * 32: Physic mode with spill off activated * 64: Physic mode without spill off activated * Bit 0: 1 → stop on external trigger === Registry === | x"0001" | USB_data_out <= ID_register| | x"0002" | USB_data_out <= software_veto_register| | x"0003" | USB_data_out <= spillNb_register| | x"0004" | USB_data_out <= Control_register| | x"0005" | USB_data_out <= spillon_register| | x"0006" | USB_data_out <= spilloff_register| | x"0007" | USB_data_out <= beam_register| | x"0008" | USB_data_out <= Calib_register| | x"0009" | USB_data_out <= Calib_Counter_register| | x"000A" | USB_data_out <= nb_windows_register| | x"000B" | USB_data_out <= software_ECALveto_register| | x"000C" | USB_data_out <= Rstdet_register| | x"000D" | bit 0 => start/end of spill used,bit 1 => trigext used default 0| | x"000E" | delay trigext| | x"000F" | length busy trigext| | x"0010" | USB_data_out <= busy0Nb_register| | x"0011" | USB_data_out <= busy1Nb_register| | x"0012" | USB_data_out <= busy2Nb_register| | x"0013" | USB_data_out <= busy3Nb_register| | x"0014" | USB_data_out <= busy4Nb_register| | x"0015" | USB_data_out <= busy5Nb_register| | x"0016" | USB_data_out <= busy6Nb_register| | x"0017" | USB_data_out <= busy7Nb_register| | x"0018" | USB_data_out <= busy8Nb_register| | x"0019" | USB_data_out <= busy9Nb_register| | x"001A" | USB_data_out <= busy10Nb_register| | x"001B" | USB_data_out <= busy11Nb_register| | x"001C" | USB_data_out <= busy12Nb_register| | x"001D" | USB_data_out <= busy13Nb_register| | x"001E" | USB_data_out <= busy14Nb_register| | x"001F" | USB_data_out <= busy15Nb_register| | x"0020" | USB_data_out <= spare0Nb_register| | x"0021" | USB_data_out <= spare1Nb_register| | x"0100" | USB_data_out <= version| === FSM & commands === == FSM == {{ :doc:lmdccserverfsm.png?600 |}} ==== FEB Server ==== { "ARGS": [], "ENV": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/levbdim/lib:/opt/dhcal/lib:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/dim/linux:/opt/dhcal/DQM4HEP/lib:/opt/dhcal/root/lib::/opt/dhcal/lcio/v02-00/lib/:$LD_LIBRARY_PATH", "CONFDB_WEB=cmsLyon/RPC_2008@ilcconfdb.ipnl.in2p3.fr", "WEBPORT=40000" ], "NAME": "TDCSERVER", "PARAMETER": { "publish": "tcp://lyosdhcal11:5556", <== data publication stream "tdc": { "db": { <== DB description "mode": "WEB", "state": "FEB_2B_1415_25" }, "network": "192.168.10." <== FEB network path } }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_FebCms" } ==== DIFManager ==== { "ARGS": [], "ENV": [ "PATH=/opt/dhcal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "PYTHONPATH=/opt/dhcal/script/:$PYTHONPATH", "CONFDB_WEB=cmsLyon/RPC_2008@ilcconfdb.ipnl.in2p3.fr", "WEBPORT=40000", "INSTANCE=0" ], "NAME": "DIFMANAGER", "PARAMETER": { "detectorId": 100, <== Event builder detector id "dif": { "db": { <== DB access description "mode": "mongo", "state": "DIFTEST_DOME", "version": 3 } }, "publish": "tcp://lyosdhcal9:5556" <== data publication port }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_DIF" } ==== DIF Server ==== { "ARGS": [], "ENV": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=40000", "INSTANCE=0" ], "NAME": "DIFSERVER", "PARAMETER": { "builderAddress": "tcp://lyosdhcal10:5556", <== data collection stream "dbcache": "tcp://lyosdhcal10:5555", <== DB cache (Oracle) address "detectorId": 100 }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Dif" } ==== DAQ control ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=45000" ], "NAME": "FDAQ", "PARAMETER": { <== Slow control publication information "TCPPort": 5500, "location": "DOME_ALGECO_FEB2019", <== Compulsary for run start "period": 30, "s_ctrlreg": "0x815A1B00" }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Control" } ==== Event Builder ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=46000" ], "NAME": "WRITER", "PARAMETER": { "dif": 1, "directory": "/data/NAS/TEST_BAKELITE", <== data writing directory "processor": [ <== List of data processor "binarywriter", "lydaq_pluggins_monitor", "lydaq_pluggins_rootwriter", "lydaq_pluggins_lciowriter" ], "shmpath": "/dev/shm/monitor", <== Monitoring storage directory "stream": [ <== Liste of listening ports "tcp://*:5556" ] }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Builder" } ==== Oracle Database Cache ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "CONFDB=...", <= See /etc/ljc.conf for value "CONFDB_WEB=cmsLyon/RPC_2008@ilcconfdb.ipnl.in2p3.fr", "WEBPORT=44000" ], "NAME": "DBSERVER", "PARAMETER": { "mode": "DB", "path": "/dev/shm/", "publish": "tcp://*:5555", <= publication port to DIF server application "state": "Dome_42chambres_Reference_v4_241" }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_ConfigurationDB" } ==== Zup ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=31000" ], "NAME": "ZUP", "PARAMETER": { "TCPPort": 5500, <= Slow control publication port "location": "SDHCAL_H2SEPT2017", "device": "/dev/ttyUSB0", <= USB port "port": 1 <= ZUP address } ==== BMP ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=32000" ], "NAME": "BMP", "PARAMETER": { "TCPPort": 5600, <= slow control publication port "location": "SDHCAL_H2SEPT2017" }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Bmp" } ==== WIENER ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=31000" ], "NAME": "ISEG", "PARAMETER": { "TCPPort": 5600, <== Slow control publication port "address": "lyoilchv01", <== Crate address "first": 0, <== First and last channel "last": 55, "location": "SDHCAL_H2SEPT2017" }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Wiener" } ==== CAEN ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=31000" ], "NAME": "CAEN", "PARAMETER": { "TCPPort": 5600, "account": "admin/admin@lyoac28", <== Connection "first": 0, <== First and last channel used "last": 5, "location": "DOME_BATI", "period": 30 <== Monitoring period }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Caen" } ==== HIH 8000 ==== { "ARGS": [], "ENV": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=40000", "INSTANCE=0" ], "NAME": "HIH", "PARAMETER": { "TCPPort": 5500, <== Publication port "location": "SLOWCONTROL_DOME_2019", "period": 30 <=== Publication period }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_hih8000" } ==== Slow Control Manager ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=36000" ], "NAME": "FSLOW", "PARAMETER": { "account": "admin/admin@lyoac28" }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_Slow_Control" } ==== Slow Control Monitor ==== { "ARGS": [], "ENV": [ "LD_LIBRARY_PATH=/opt/dhcal/root/lib:/usr/lib:/usr/local/lib:/opt/dhcal/lib:$LD_LIBRARY_PATH", "WEBPORT=33000" ], "NAME": "MONITORING", "PARAMETER": { "dbname": "/home/acqilc/slowdb.sqlite", <== SQLITE DB to stroe data "streams": [ "tcp://lyoilcrpi24:5500", <=== Liste of slow control publication stream "tcp://lyoilcrpi13:5500", "tcp://lyosdhcal7:5500" ] }, "PROGRAM": "/opt/dhcal/bin/lydaq_daemon_monitoring" }