mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
included setroi for multidet
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@464 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
bc61fd4883
commit
6022c9b29e
@ -31,6 +31,7 @@ using namespace std;
|
|||||||
|
|
||||||
#define COULD_NOT_CONFIGURE_MAC 0x0000000000000001ULL
|
#define COULD_NOT_CONFIGURE_MAC 0x0000000000000001ULL
|
||||||
#define COULDNOT_SET_NETWORK_PARAMETER 0x0000000000000002ULL
|
#define COULDNOT_SET_NETWORK_PARAMETER 0x0000000000000002ULL
|
||||||
|
#define COULDNOT_SET_ROI 0x0000000000000004ULL
|
||||||
|
|
||||||
|
|
||||||
/** @short class returning all error messages for error mask */
|
/** @short class returning all error messages for error mask */
|
||||||
@ -71,7 +72,10 @@ public:
|
|||||||
retval.append("Could not configure mac\n");
|
retval.append("Could not configure mac\n");
|
||||||
|
|
||||||
if(slsErrorMask&COULDNOT_SET_NETWORK_PARAMETER)
|
if(slsErrorMask&COULDNOT_SET_NETWORK_PARAMETER)
|
||||||
retval.append("Could not set network parameter. Should be valid and in proper format.\n");
|
retval.append("Could not set network parameter. Should be valid and in proper format\n");
|
||||||
|
|
||||||
|
if(slsErrorMask&COULDNOT_SET_ROI)
|
||||||
|
retval.append("Could not set the exact region of interest. Verify ROI set by detector.\n");
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
/** header length for data :gotthard*/
|
/** header length for data :gotthard*/
|
||||||
#define HEADERLENGTH 12
|
#define HEADERLENGTH 12
|
||||||
|
|
||||||
|
/** maximum rois */
|
||||||
|
#define MAX_ROIS 100
|
||||||
|
|
||||||
typedef double double32_t;
|
typedef double double32_t;
|
||||||
typedef float float32_t;
|
typedef float float32_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user