mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
WIP
This commit is contained in:
@ -241,6 +241,7 @@ typedef struct {
|
||||
TRIGGER_EXPOSURE, /**< trigger mode i.e. exposure is triggered */
|
||||
GATED, /**< gated */
|
||||
BURST_TRIGGER, /**< trigger a burst of frames */
|
||||
TRIGGER_GATED, /**< trigger and gating */
|
||||
NUM_TIMING_MODES
|
||||
};
|
||||
|
||||
@ -483,9 +484,9 @@ typedef struct {
|
||||
protected:
|
||||
#endif
|
||||
|
||||
// #ifndef MYROOT
|
||||
// #include "sls_detector_funcs.h"
|
||||
// #endif
|
||||
// #ifndef MYROOT
|
||||
// #include "sls_detector_funcs.h"
|
||||
// #endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
@ -198,6 +198,12 @@ enum detFuncs {
|
||||
F_UPDATE_RATE_CORRECTION,
|
||||
F_GET_RECEIVER_PARAMETERS,
|
||||
F_START_PATTERN,
|
||||
F_SET_NUM_GATES,
|
||||
F_GET_NUM_GATES,
|
||||
F_SET_GATE_DELAY,
|
||||
F_GET_GATE_DELAY,
|
||||
F_GET_EXPTIME_ALL_GATES,
|
||||
F_GET_GATE_DELAY_ALL_GATES,
|
||||
|
||||
NUM_DET_FUNCTIONS,
|
||||
RECEIVER_ENUM_START = 256, /**< detector function should not exceed this
|
||||
@ -492,6 +498,13 @@ const char* getFunctionNameFromEnum(enum detFuncs func) {
|
||||
case F_UPDATE_RATE_CORRECTION: return "F_UPDATE_RATE_CORRECTION";
|
||||
case F_GET_RECEIVER_PARAMETERS: return "F_GET_RECEIVER_PARAMETERS";
|
||||
case F_START_PATTERN: return "F_START_PATTERN";
|
||||
case F_SET_NUM_GATES: return "F_SET_NUM_GATES";
|
||||
case F_GET_NUM_GATES: return "F_GET_NUM_GATES";
|
||||
case F_SET_GATE_DELAY: return "F_SET_GATE_DELAY";
|
||||
case F_GET_GATE_DELAY: return "F_GET_GATE_DELAY";
|
||||
case F_GET_EXPTIME_ALL_GATES: return "F_GET_EXPTIME_ALL_GATES";
|
||||
case F_GET_GATE_DELAY_ALL_GATES: return "F_GET_GATE_DELAY_ALL_GATES";
|
||||
|
||||
|
||||
case NUM_DET_FUNCTIONS: return "NUM_DET_FUNCTIONS";
|
||||
case RECEIVER_ENUM_START: return "RECEIVER_ENUM_START";
|
||||
|
Reference in New Issue
Block a user