From e7e4bf13c31a14d8ee894b07b13076a1cb8d950e Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 8 Aug 2019 11:07:41 +0200 Subject: [PATCH] WIP --- slsDetectorSoftware/include/Detector.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/slsDetectorSoftware/include/Detector.h b/slsDetectorSoftware/include/Detector.h index 212c2f03b..9c13d936b 100644 --- a/slsDetectorSoftware/include/Detector.h +++ b/slsDetectorSoftware/include/Detector.h @@ -211,6 +211,15 @@ class Detector { // Erik + /** + * CTB only. Sets the wait time + * @param level 0,1,2, wait level + * @param t wait time, -1 gets + * @param detPos -1 for all detectors in list or specific detector position + * @returns actual value + */ + uint64_t setPatternWaitTime(int level, uint64_t t = -1, int detPos = -1); + /** CTB only.Sets the mask applied to every pattern. */ void setPatternMask(uint64_t mask, Positions pos = {}); @@ -230,15 +239,10 @@ class Detector { */ Result getPatternBitMask(Positions pos = {}) const; - /** - * CTB only. Enable or disable the LED - * @param enable true to switch on, false to switch off - */ + /** CTB only. Enable or disable the LED */ void setLEDEnable(bool enable, Positions pos = {}); - /** - * CTB only. Get LED enable. - */ + /** CTB only. Get LED enable. */ Result getLEDEnable(Positions pos = {}) const; /**