mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-24 02:27:59 +02:00
reset counter bit in eiger detector partially or completely
This commit is contained in:
@ -52,6 +52,7 @@ using namespace std;
|
||||
#define COULD_NOT_SET_SPEED_PARAMETERS 0x0000000000004000ULL
|
||||
#define COULD_NOT_SET_READOUT_FLAGS 0x0000000000008000ULL
|
||||
#define COULD_NOT_SET_FIFO_DEPTH 0x0000000000010000ULL
|
||||
#define COULD_NOT_SET_COUNTER_BIT 0x0000000000020000ULL
|
||||
|
||||
// 0x00000000FFFFFFFFULL
|
||||
/** @short class returning all error messages for error mask */
|
||||
@ -161,6 +162,9 @@ public:
|
||||
if(slsErrorMask&COULD_NOT_SET_FIFO_DEPTH)
|
||||
retval.append("Could not set receiver fifo depth\n");
|
||||
|
||||
if(slsErrorMask&COULD_NOT_SET_COUNTER_BIT)
|
||||
retval.append("Could not set/reset counter bit\n");
|
||||
|
||||
return retval;
|
||||
|
||||
}
|
||||
|
@ -93,7 +93,9 @@ enum {
|
||||
F_SET_ALL_TRIMBITS, /** < set all trimbits to this value */
|
||||
|
||||
F_SET_CTB_PATTERN, /** < loads a pattern in the CTB */
|
||||
F_WRITE_ADC_REG /** < writes an ADC register */
|
||||
F_WRITE_ADC_REG, /** < writes an ADC register */
|
||||
|
||||
F_SET_COUNTER_BIT /** < set/reset counter bit in detector for eiger */
|
||||
|
||||
/* Always append functions hereafter!!! */
|
||||
|
||||
|
Reference in New Issue
Block a user