User Tools

Site Tools


event_filter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
event_filter [2015/10/30 17:02]
pereira [CRDC packets]
event_filter [2015/10/30 17:55]
pereira [CRDC packets]
Line 293: Line 293:
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^    A number from 4 to 18    ^^^^^^^^^^^^^^^|+^    A number from 4 to 18    ^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Line 308: Line 308:
   * **CRDC label**   * **CRDC label**
  
-^    0 (CRDC1) or 1 (CRDC2) ^^^^^^^^^^^^^^^|+^    0x0000 or 0x0001   ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +where 0x0000 and 0x0001 identify CRDC1 and CRDC2, respectively.
  
  
Line 330: Line 332:
  
  
 +  * **Dummy word** 
  
 +^    0x0000    ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
  
 +This word is reserved for a global threshold, which is no longer used.
  
-CRDC Sub-packet "Raw" CRDC Sub-packet "Raw"  
  
  
-  * **Energy values** +  * **Samples sub-packets** 
-The energy (from the Phillips 7164H ADC module) is given by a series of words that look like+The Filter sends a series of sample sub-packets. Each sub-packet consists of two parts: 1) one 16-bit word with information about the sample number (**sample**):
  
-^  ^^^ Ch energy  ^^^^^^^^^^^| + control bit    sample    ^^^^^^^^   channel   ^^^^^^| 
-| X | X | X | X | X | X | X | X | X | X | X | X | X |+| X | X | X | X | X | X | X | X | X | X | X | X | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +and 2) four 16-bit words, each with energy information a pad:
 +
 +^  control bit  ^  empty  ^^^  connector 0  ^^  energy  ^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +^  control bit  ^  empty  ^^^  connector 1  ^^  energy  ^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 1 | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +^  control bit  ^  empty  ^^^  connector 2  ^^  energy  ^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 1 | 0 | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +^  control bit  ^  empty  ^^^  connector 3  ^^  energy  ^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 1 | 1 | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +The connector number (**connector**) is related to pad number (**pad**) according to: **pad** = **channel** + **connector** x 64 (where **channel** is given by the first word of the sample sub-packet).
 +
 +
 +
  
  
event_filter.txt · Last modified: 2019/05/24 13:58 by pereira