GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V2-0-1

Constituent: qse     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

_QSE_aem_cableStatus Struct Reference

Summary cable bit status masks. More...

#include <QSE_aem.h>


Data Fields

unsigned short int rsvd [4]
unsigned short int timeout
unsigned short int hdr_parity
unsigned short int pha_overrun
unsigned short int pha_underrun
unsigned short int present
unsigned short int pha_parity


Detailed Description

Summary cable bit status masks.


Field Documentation

unsigned short int _QSE_aem_cableStatus::hdr_parity
 

Bit list of the cables header parity bits. This may or may not be a fatal error, preventing the navigation of the event. The design decision was to account for the condition in this word, but not abort the unpacking procedure. The downside of this is that if the parity error corrupts the control information sufficiently, it is very likely that this will result in some other error. On the other hand if the parity error is the result of corrupting one of the accept or hit bits, the data is likely still parsable, and, in this case, comes down to a case of data quality.

unsigned short int _QSE_aem_cableStatus::pha_overrun
 

Bit list of the cables with unmatched ADCs. The term overrun refers to the fact that, for a given cable, there are more accept bits than there are PHAs, as in the control has overrun the supply. At one point in the AEM design, this was an allowed state. The idea was that, for deadtime control, one could limit the number PHA values, but still record the fact that a channel wished to emit a PHA value, but was inhibited by this limit. However, the hardware was not designed to this specification.

unsigned short int _QSE_aem_cableStatus::pha_parity
 

Bit list of the cables with ADCs having parity errors. This is not a fatal error, rather falling into a question of data quality.

unsigned short int _QSE_aem_cableStatus::pha_underrun
 

Cables with underrun phas. The term underrun refers to the fact that, for a given cable, the number of accepts bits is fewer than the number of PHAs actually emitted. This is an error condition and, while the face value interpretation may be correct, the more likely scenario is that AEM data stream is corrupted and the unpacker has lost synch with what it is actually seeing and what it is reading.

unsigned short int _QSE_aem_cableStatus::present
 

Cables present in the input stream. This mask could be used in an integrity check, checking this mask against the anticipated set of cables. For example, in a system with all 12 free boards, this mask should be 0xfff. Note that this mask says nothing about whether the cables have data or not.

unsigned short int _QSE_aem_cableStatus::rsvd[4]
 

Reserved for future use

unsigned short int _QSE_aem_cableStatus::timeout
 

Bit list of the cables with a timeout. A timeout is equivalent to a cable without a start bit. This is generally not considered to be a fatal error in the sense that this should cause no problem in navigating the event. The data has integrity, the issue is data quality, an issue the user should be concerned with, not the unpacker


The documentation for this struct was generated from the following file:
Generated on Wed Jun 25 01:19:13 2008 by  doxygen 1.4.4