mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
ctb: patwaittime and exptime (#1076)
* cli: patwaittime also takes time argument, api: patwaitclocks and patwaitinterval, tcp: patwaitinterval is 2 functions for set and get, patwaitclocks remains a single for backward compatibility with -1 for get, server (loadpattern): clks using member names (needs to be refactored). needs tobe discussed what to do with pattern files. * all tests passed * fixed test * exptime deprecated for ctb and xilinx * pyctbgui..not there yet * fixed in pyctbgui * removed redundant warning for ctb and xilinx exptime in Detector class (already in module class handling all exptime signatures), patwait, patloop and patnloop have to be non inferrable commands because of support for old commands (level as suffix) * fix formatting error from command line parsing * fix tests for patwaittime
This commit is contained in:
@ -550,8 +550,10 @@ class Module : public virtual slsDetectorDefs {
|
||||
void setPatternLoopCycles(int level, int n);
|
||||
int getPatternWaitAddr(int level) const;
|
||||
void setPatternWaitAddr(int level, int addr);
|
||||
uint64_t getPatternWaitTime(int level) const;
|
||||
void setPatternWaitTime(int level, uint64_t t);
|
||||
uint64_t getPatternWaitClocks(int level) const;
|
||||
void setPatternWaitClocks(int level, uint64_t t);
|
||||
uint64_t getPatternWaitInterval(int level) const;
|
||||
void setPatternWaitInterval(int level, uint64_t t);
|
||||
uint64_t getPatternMask() const;
|
||||
void setPatternMask(uint64_t mask);
|
||||
uint64_t getPatternBitMask() const;
|
||||
|
Reference in New Issue
Block a user