added error message tau/subexptime to error list

This commit is contained in:
Dhanya Maliakal
2016-02-17 18:01:58 +01:00
parent cb1a30c450
commit 4eba07ca90
3 changed files with 11 additions and 1 deletions

View File

@ -57,6 +57,7 @@ using namespace std;
#define COULD_NOT_PULSE_PIXEL_NMOVE 0x0000000000080000ULL
#define COULD_NOT_PULSE_CHIP 0x0000000000100000ULL
#define COULD_NOT_SET_RATE_CORRECTION 0x0000000000200000ULL
#define RATE_CORRECTION_TAU_SUBEXPOSURE 0x0000000000400000ULL
// 0x00000000FFFFFFFFULL
/** @short class returning all error messages for error mask */
@ -181,6 +182,12 @@ public:
if(slsErrorMask&COULD_NOT_SET_RATE_CORRECTION)
retval.append("Could not set rate correction\n");
if(slsErrorMask&RATE_CORRECTION_TAU_SUBEXPOSURE)
retval.append("Rate Correction Deactivated: (tau/subexptime) must be less than 0.0015\n");
//------------------------------------------------------ length of message
return retval;