From: Jan Michel Date: Wed, 6 Nov 2013 18:05:39 +0000 (+0100) Subject: More mvd read-out registers X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=2a9e817424b19eaba944e00d827217868311c090;p=daqtools.git More mvd read-out registers --- diff --git a/web/htdocs/layout/blue.css b/web/htdocs/layout/blue.css index 83660d2..57d9905 100644 --- a/web/htdocs/layout/blue.css +++ b/web/htdocs/layout/blue.css @@ -267,7 +267,7 @@ table.queryresult td.good { background-color:#cfc; } table.queryresult td.bad { - background-color:#fcc; + background-color:#faa; } diff --git a/xml-db/database/Mvd.xml b/xml-db/database/Mvd.xml index 9f53e7c..4b5361a 100644 --- a/xml-db/database/Mvd.xml +++ b/xml-db/database/Mvd.xml @@ -7,7 +7,7 @@ Registers for the MVD ROC + address="0000" size="13" purpose="status" mode="r" continuous="true"> Status information of the ROC input buffer @@ -46,10 +46,10 @@ MAPS data after detection of 16 bit boundary - + Data word on the first data channel - + Data word on the second data channel @@ -68,10 +68,10 @@ Word Aligner is running - + Frame trailer has been detected - + Frame header has been detected @@ -102,10 +102,10 @@ Status of the ROC data handler - + Data Handler is busy - + Data length valid strobe @@ -182,7 +182,7 @@ Frame Buffer Overflow - + Header Timeout @@ -192,46 +192,92 @@ Header found, frame active - Clock cycles since last header + Clock cycles between the last two header words - - Status flags for the current frame - + + Status flags for the last frame. Values are updated after a frame as been finished. This register contains bits 0 to 15 of the status word also present in the data files. - Roc was active during the full frame + Sensor was all the time active during readout - Roc was active at the beginning of the frame + Sensor is currently active - - Data discarding was requested + + The TrbNet buffers are OK - - Frame completed + + Frame Complete (Data Checker status bit 31) Data checker discovered errors - + Distance between two words too long Distance between header and trailer too long - Sensor was resetted. It sent two headers but no trailer in between + Reset Detected (2x Header and no Trailer in between) + + Received package is not a Header in IDLE state (Data Checker 1) + + + Frame number is not in the ascending order (Data Checker 2) + + + Datalengths are not same on both channels (Data Checker 3) + + + Datalength is larger than 570 (Data Checker 4) + + + Data counter is 0, but the 'state' counter is not 0 (Data Checker 5) + + + Data counter is not 0 on Trailer package (Data Checker 6) + + + Data counter turned 0 during normal package readout (Data Checker 7) + + + Number of states is not between 1 and 9 (Data Checker 8) + + - - - Error in data length buffer + + Status flags for the last frame. Values are updated after a frame as been finished. This register contains bits 16 to 31 of the status word also present in the data files. + + Matrix row address is larger than 575 (Data Checker 9) + + + Overflow bit is set, but less than 9 states are present (Data Checker 10) + + + Matrix column address is larger than 1151 (Data Checker 11) + + + Row address inconsistent (row is lower than the one before) (Data Checker 12) + + + Column address inconsistent (column is lower than the one before) (Data Checker 13) + + + State counter is not 1 in the COLROW state (Data Checker 14) + + + Wrong column address on channel 2 in COLCOL state (Data Checker 15) + + + Frame Writer datalength error - FIFO empty Buffers Stop - + Distance between header and header too long @@ -240,16 +286,64 @@ Frame Buffer Underflow - - Frame Checker OK + + Trailer detected, going back to IDLE (Data Checker 30) - - Frame Ready + + Status is ready - - + + Fill-level of the frame buffer + + Number of data words stored in the frame data buffer + + + Number of data words stored in the frame length buffer + + + + + Status flags for the frame buffer + + The frame data buffer is full + + + The frame length buffer is full + + + The frame data buffer is full + + + The frame length buffer is full + + + The buffers are almost full, no more frames can be stored. Data will be discarded + + + + + Status of the data formatter + + Idle + GetDlen + Format1 + Format2 + Format3 + Format4 + Format5 + Format6 + Format7 + Read + Write1 + Write2 + Finish + Done + + + +