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

  • Check the existing partitons
    > ipc_ls
    initial
       partitions:
            PixelInfr_wittgen
            PixelInfr
            PixelInfr_alex
            goetz_test
            PixelInfr_maliev
    
    >ipc_ls -p PixelInfr_wittgen
    PixelInfr_wittgen
       ipc/PixBroker:
            MULTI:control5.pixel.cern.ch:20989:my_broker
            IF:ROD_CRATE_0
            ROD_CRATE_0
            IF:ROD_CRATE_1
            ROD_CRATE_1
       ipc/PixNameServer:
            nameServer
       mrs/manager:
            MRS
    
       

Configuration Tag Utilities

Dump the contents of configuration tag

  • Dump the objects of each domain in a given partition
    ${PIX_LIB}/Examples/DbServer_monitor --dbPart PixelInfr_wittgen --dump
    - DbServer has 2 domains
    
      -> domain   Configuration-SR1 has 2 tags
    
         -> tag   NEWDSP-SCHSU-BOC (content: BOC )  has 517 objects
    
         -> tag   TOOTHPIX-ORIG (content: MOD )  has 5940 objects
    
      -> domain   Connectivity-SR1 has 1 tags
    
         -> tag   TOOTHPIX-V4 (content: NULL )  has 172 objects
    

  • Dump the objects in the ROD/BOC configuration tag
     ${PIX_LIB}/Examples/DbServer_monitor --dbPart PixelInfr_wittgen --domain Configuration-SR1 --tag NEWDSP-SCHSU-BOC --dump 
    --objMode
    - DbServer has 2 domains
    
      -> domain   Configuration-SR1 has 2 tags
    
         -> tag   NEWDSP-SCHSU-BOC (content: BOC )  has 517 objects
           -> object   ROD_C0_S11
           -> object   ROD_C0_S11_BOC
           -> object   ROD_C0_S11_BOC|PixRx0
           -> object   ROD_C0_S11_BOC|PixRx1
           -> object   ROD_C0_S11_BOC|PixRx2
           -> object   ROD_C0_S11_BOC|PixRx3
           -> object   ROD_C0_S11_BOC|PixTx0
           -> object   ROD_C0_S11_BOC|PixTx1
           -> object   ROD_C0_S11_BOC|PixTx2
           -> object   ROD_C0_S11_BOC|PixTx3
           -> object   ROD_C0_S11_ROD
       
* 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
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2008-09-15 - ShihChiehHsu
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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