Dump RCE data to disk

ssh np04daq@np04-srv-011
cd  /nfs/sw/rce/setup.sh dev
rce_wib_debug --cob 1 --dpm 1

Example Output

RunMode: Softwre trigger, RCEs:  ['CERN-110', 'CERN-112']

Accepting triggers for 5 seconds ... (see --timeout option)

[CERN-110] Configuring... OK
[CERN-110] Output file is: CERN-110.dat
Open socket
Got listening socket 4
Listening for a connection on port  7765
Accepted connection from client
SO_RCVBUF   = 00040000
TCP_NODELAY =        0
   Rate        Bps SeqErrs DatErrs BadData Nevents   Total      Bytes
 ------ ---------- ------- --------------- ------- ------- ----------

 ------ NEW EVENT ------

. . . . 
. . . .
. . . .

Trailer: 74cf61ddfad7e6df

 ------ NEW EVENT ------
Stopping pid 17797 ...OK
[CERN-112] Stopping pid 17800 ...OK

Run the following commands to inspect the data ...

PdReaderTest CERN-110.dat | less
PdReaderTest CERN-112.dat | less

Notes

  • Each COBs has 4 DPMs
  • Each DPM contains 2 RCEs
  • The script dump data of 2 RCEs to disk (e.g.. CERN-110.dat, CERN-112.dat).
  • PdReaderTest gives a portion of formatted output of the RCEs data

PdReaderTest Output

Header: 8b309e2205281920
Header      Type.Format = 2.0 N64:052819:2 SubType=2 Bridge=8b309e
Identifier: 000000817f800001 00006dd0ef409d7d
            Format.Type = 1.0 Srcs = 0.0.0 : 1f.7.0
            Timestamp   = 00006dd0ef409d7d Sequence = 00000081
Originator: 00000512
            Software    = 01.00.05.00 Firmware     = 00000048
            RptTag      = 4903
            Serial #    = b10000007effad70
            Location    = np04-sm-1/1/1/2

. . . . .
. . . . .
. . . . .

Wf #  CC Ve Cr.S.F ( Id)   Rsvd  WibErrs         TimeStamp Cvt0 Cvt1
---- -- -- ------------- ------- -------- ---------------- ---- ----
   3: bc 01 1f.7.4 (3fc), 000200 000000ff 00006dd0f778ad6f b4b4 b5b5
   iCd SE Rv  ChkSums  Cvt ErRg Rsvd      Hdrs
   --- -- -- -------- ---- ---- ----  --------
     0 8c 8c 7979f5f5 b4b4 00ff 00fe  aaaaaaaa
Chn 0: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn10: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn20: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn30: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
   iCd SE Rv  ChkSums  Cvt ErRg Rsvd      Hdrs
   --- -- -- -------- ---- ---- ----  --------
     1 8c 8c 7979f6f6 b5b5 00ff 00fe  aaaaaaaa
Chn 0: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn10: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn20: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef
Chn30: 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef 04e4 04fe 0e4f 0fef

Trailer = 74cf61ddfad7e6df
Closing

-- KaVangTsang - 2017-11-15

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2017-11-15 - KaVangTsang
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF All webs login

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