diff --git a/docs/src/receivers.rst b/docs/src/receivers.rst index 15d9c7613..3dc685fcd 100644 --- a/docs/src/receivers.rst +++ b/docs/src/receivers.rst @@ -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. -| 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 is common for all the detectors. It consists of the +| The UDP data format for the packets consist of a common header for all detectors, followed by the data for that one packet. -#. SLS Detector Header of 48 bytes - .. list-table:: +**The SLS Detector Header** - * - frameNumber - * - expLength - - packetNumber - * - bunchId - * - timestamp - * - modId - - row - - column - - reserved - * - debug - - roundRNumber - - detType - - version +.. table:: <-------------------------------- 8 bytes --------------------------------> + :align: center + :widths: 30,30,30,30 -+----------------------------------------------------+ -| frameNumber | -+-----------------------+----------------------------+ -| expLength | packetNumber | -+-----------------------+----------------------------+ -| bunchId | -+----------------------------------------------------+ -| timestamp | -+----------+------------+------------+---------------+ -| modId | row | column | reserved | -+----------+------------+------------+-------+-------+ -| debug |roundRNumber|detType|version| -+-----------------------+------------+-------+-------+ + +--------------------------------------------------------------------+ + |frameNumber | + +---------------------------------+----------------------------------+ + |expLength |packetNumber | + +---------------------------------+----------------------------------+ + |bunchId | + +--------------------------------------------------------------------+ + |timestamp | + +----------------+----------------+----------------+-----------------+ + |modId |row |column |reserved | + +----------------+----------------+----------------+--------+--------+ + |debug |roundRNumber |detType |version | + +---------------------------------+----------------+--------+--------+ -#. Data for one one packet slsReceiver -------------