DAQ
- Message Reporting System (MRS) provides a facility, which allows all software components of the DAQ system to report, asynchronously, events such as error messages.
DCS-DAQ-Communication (DDC)
- DIM: DIM is a communication system for distributed / mixed environments, it provides a network transparent inter-process communication layer.
- PVSS - DIM Integration: The PVSS-DIM toolkit allows to interface PVSS to devices which do not provide any of PVSS's supported protocols (such as OPC).
- The Inlink and In/outlink has to use DDC to execute command to turn on/off optoboard and read Pin current on optoboard back. The failure of DDC will cause abort or readout values -999.
Partition Tools
Configuration Tag Utilities
Dump the contents of configuration tag
* dump objects of ROD configuration. Let's focus on the slave binary used by this ROD. There are three binaries for
OldDsp. For
NewDsp, only the general_S_EXTFile is important. We should replace this file with our own
NewDsp slave image.
${PIX_LIB}/Examples/DbServer_monitor --dbPart PixelInfr_wittgen --domain Configuration-SR1 --tag NEWDSP-SCHSU-BOC --dumpObj --objName ROD_C0_S11_ROD
-> string_map has 3 entries!!
-- Name: general_S_EXTFile value: /home/schsu/DSP/sdsp6713_xcode.bin
-- Name: general_S_IDRAMFile value: /home/schsu/DSP/sdsp6713_idram.bin
-- Name: general_S_IPRAMFile value: /home/schsu/DSP/sdsp6713_ipram.bin
Change the content of configuration tag
- We can change the configuration on the fly.
- Change the prefix directory of the slave binary. After running this command, check the DB content, one can see that the slave binary has been pointed to new path.
${PIX_LIB}/Examples/ChangeCfg --dbPart PixelInfr_wittgen --idTag SR1 --save --setBinPref /home/wittgen/DSP --connTag TOOTHPIX-V4 --cfgTag NEWDSP-SCHSU --pendTag OnDb
- if you don't like the name sdsp6713_xcode.bin, you can change the source code. ${PIX_LIB}/Examples/ChangeCfg.cxx
std::cout << (rod->config())["general"]["EXTFile"].valueString() << std::endl;
(rod->config())["general"]["IDRAMFile"].valueString() = string(prefix + "/sdsp6713_idram.bin");
(rod->config())["general"]["IPRAMFile"].valueString() = prefix + "/sdsp6713_ipram.bin";
(rod->config())["general"]["EXTFile"].valueString() = prefix + "/sdsp6713_xcode.bin";
--
ShihChiehHsu - 23 Jun 2008