DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
WIBException.hh
Go to the documentation of this file.
1#ifndef __WIB_EXCEPTION_HH__
2#define __WIB_EXCEPTION_HH__ 1
3
5
6namespace BUException{
7 //Exceptions for WIB
8 ExceptionClassGenerator(WIB_INDEX_OUT_OF_RANGE,"Index out of range\n")
9 // ExceptionClassGenerator(WIB_FEMB_RANGE,"WIB FEMB out of range\n")
10 // ExceptionClassGenerator(WIB_DAQ_LINK_RANGE,"WIB DAQ Link out of range\n")
11 ExceptionClassGenerator(WIB_BUSY,"WIB BUSY\n")
12 ExceptionClassGenerator(WIB_FEATURE_NOT_SUPPORTED,"Requested feature is not available\n")
13 ExceptionClassGenerator(WIB_BAD_ARGS,"WIB bad args")
14 ExceptionClassGenerator(WIB_ERROR,"WIB Error")
15 ExceptionClassGenerator(WIB_DAQMODE_UNKNOWN,"Unknown whether WIB is in RCE or FELIX mode\n")
16 ExceptionClassGenerator(WIB_FAKE_DATA_ON_HALF_FELIX_LINK,"Fake data mode set on only 1 FEMB of a FELIX link--not allowed")
17 ExceptionClassGenerator(WIB_FLASH_TIMEOUT,"A timeout occured on WIB flash")
18 ExceptionClassGenerator(WIB_FLASH_ERROR,"An error while using the flash")
19 ExceptionClassGenerator(WIB_FLASH_IHEX_ERROR,"An error while parsing intel Hex files")
20 ExceptionClassGenerator(WIB_DTS_ERROR,"WIB timing system error")
21 ExceptionClassGenerator(FEMB_FIRMWARE_VERSION_MISMATCH,"FEMB firmware version mismatch")
22 ExceptionClassGenerator(FEMB_REG_READ_ERROR,"Can't read FEMB registers")
23 ExceptionClassGenerator(FEMB_SPI_READBACK_MISMATCH,"FEMB ASIC SPI readback mismatch--problems communicating with ASICs")
24 ExceptionClassGenerator(FEMB_ADC_SYNC_ERROR,"FEMB can't sync FIFOs from ADC ASICs")
25}
26
27#endif
#define ExceptionClassGenerator(ClassName, ClassDescription)
Definition WIB.hh:26
Factory couldn t std::string alg_name Invalid configuration error
Definition Issues.hpp:34