mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 06:29:21 +01:00
added getPatternLoop
This commit is contained in:
@@ -1824,9 +1824,13 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns OK/FAIL
|
||||
*/
|
||||
int setPatternLoops(int level, int &start, int &stop, int &n,
|
||||
int setPatternLoops(uint64_t level, uint64_t start, uint64_t stop, uint64_t n,
|
||||
int detPos = -1);
|
||||
|
||||
|
||||
|
||||
std::array<uint64_t, 3> getPatternLoops(uint64_t level, int detPos = -1);
|
||||
|
||||
/**
|
||||
* Sets the wait address in the CTB
|
||||
* @param level 0,1,2, wait level
|
||||
|
||||
@@ -10,6 +10,7 @@ class ClientInterface;
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
#include <array>
|
||||
|
||||
class multiSlsDetector;
|
||||
class ServerInterface;
|
||||
@@ -1657,7 +1658,9 @@ class slsDetector : public virtual slsDetectorDefs{
|
||||
* @param n number of loops (if level >=0)
|
||||
* @returns OK/FAIL
|
||||
*/
|
||||
int setPatternLoops(int level, int &start, int &stop, int &n);
|
||||
int setPatternLoops(uint64_t level, uint64_t start, uint64_t stop, uint64_t n);
|
||||
|
||||
std::array<uint64_t, 3> getPatternLoops(uint64_t level);
|
||||
|
||||
/**
|
||||
* Sets the wait address in the CTB
|
||||
|
||||
Reference in New Issue
Block a user