mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
wip doc
This commit is contained in:
parent
671ee3179e
commit
23d9d5fa81
@ -7,44 +7,30 @@ Custom Receiver
|
|||||||
|
|
||||||
| When using custom receiver with our package, ensure that **udp_dstmac** is also configured in the config file. This parameter is not required when using slsReceiver.
|
| When using custom receiver with our package, ensure that **udp_dstmac** is also configured in the config file. This parameter is not required when using slsReceiver.
|
||||||
|
|
||||||
| Also ensure that there are no **rx_** commands in the config file. These commands are in configuring the slsReceiver.
|
| Also ensure that there are no **rx_** commands in the config file. These commands are for configuring the slsReceiver.
|
||||||
|
|
||||||
UDP Data Format
|
| The UDP data format for the packets consist of a common header for all detectors, followed by the data for that one packet.
|
||||||
^^^^^^^^^^^^^^^^^
|
|
||||||
The UDP data format for the packets is common for all the detectors. It consists of the
|
|
||||||
|
|
||||||
#. SLS Detector Header of 48 bytes
|
**The SLS Detector Header**
|
||||||
.. list-table::
|
|
||||||
|
|
||||||
* - frameNumber
|
.. table:: <-------------------------------- 8 bytes -------------------------------->
|
||||||
* - expLength
|
:align: center
|
||||||
- packetNumber
|
:widths: 30,30,30,30
|
||||||
* - bunchId
|
|
||||||
* - timestamp
|
|
||||||
* - modId
|
|
||||||
- row
|
|
||||||
- column
|
|
||||||
- reserved
|
|
||||||
* - debug
|
|
||||||
- roundRNumber
|
|
||||||
- detType
|
|
||||||
- version
|
|
||||||
|
|
||||||
+----------------------------------------------------+
|
+--------------------------------------------------------------------+
|
||||||
|frameNumber |
|
|frameNumber |
|
||||||
+-----------------------+----------------------------+
|
+---------------------------------+----------------------------------+
|
||||||
|expLength |packetNumber |
|
|expLength |packetNumber |
|
||||||
+-----------------------+----------------------------+
|
+---------------------------------+----------------------------------+
|
||||||
|bunchId |
|
|bunchId |
|
||||||
+----------------------------------------------------+
|
+--------------------------------------------------------------------+
|
||||||
|timestamp |
|
|timestamp |
|
||||||
+----------+------------+------------+---------------+
|
+----------------+----------------+----------------+-----------------+
|
||||||
|modId |row |column |reserved |
|
|modId |row |column |reserved |
|
||||||
+----------+------------+------------+-------+-------+
|
+----------------+----------------+----------------+--------+--------+
|
||||||
|debug |roundRNumber |detType |version |
|
|debug |roundRNumber |detType |version |
|
||||||
+-----------------------+------------+-------+-------+
|
+---------------------------------+----------------+--------+--------+
|
||||||
|
|
||||||
#. Data for one one packet
|
|
||||||
|
|
||||||
slsReceiver
|
slsReceiver
|
||||||
-------------
|
-------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user