mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
changes to receiver works for data compression. needs optimizing
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@699 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -40,6 +40,8 @@ using namespace std;
|
||||
#define SETTINGS_FILE_NOT_OPEN 0x0000000000000020ULL
|
||||
#define COULDNOT_START_RECEIVER 0x0000000000000040ULL // default error like starting threads
|
||||
#define COULDNOT_STOP_RECEIVER 0x0000000000000080ULL
|
||||
#define DETECTOR_TIMER_VALUE_NOT_SET 0x0000000000000100ULL
|
||||
#define RECEIVER_ACQ_PERIOD_NOT_SET 0x0000000000000200ULL
|
||||
|
||||
/** @short class returning all error messages for error mask */
|
||||
class errorDefs {
|
||||
@ -109,6 +111,12 @@ public:
|
||||
if(slsErrorMask&COULDNOT_STOP_RECEIVER)
|
||||
retval.append("Could not stop receiver.\n");
|
||||
|
||||
if(slsErrorMask&DETECTOR_TIMER_VALUE_NOT_SET)
|
||||
retval.append("Could not set one of timer values in detector.\n");
|
||||
|
||||
if(slsErrorMask&RECEIVER_ACQ_PERIOD_NOT_SET)
|
||||
retval.append("Could not set acquisition period in receiver.\n");
|
||||
|
||||
|
||||
return retval;
|
||||
|
||||
|
Reference in New Issue
Block a user