mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 17:18:00 +02:00
Client and jungfrau server funcs added for pattern generator
This commit is contained in:
@ -702,12 +702,77 @@ virtual int enableReceiverCompression(int i = -1)=0;
|
||||
/returns if 10Gbe is enabled
|
||||
*/
|
||||
virtual int enableTenGigabitEthernet(int i = -1)=0;
|
||||
|
||||
|
||||
|
||||
/******** CTB funcs */
|
||||
|
||||
/** opens pattern file and sends pattern to CTB
|
||||
@param fname pattern file to open
|
||||
@returns OK/FAIL
|
||||
*/
|
||||
virtual int setCTBPattern(string fname)=0;
|
||||
|
||||
|
||||
/** Writes a pattern word to the CTB
|
||||
@param addr address of the word, -1 is I/O control register, -2 is clk control register
|
||||
@param word 64bit word to be written, -1 gets
|
||||
@returns actual value
|
||||
*/
|
||||
virtual uint64_t setCTBWord(int addr,uint64_t word=-1)=0;
|
||||
|
||||
/** Sets the pattern or loop limits in the CTB
|
||||
@param level -1 complete pattern, 0,1,2, loop level
|
||||
@param start start address if >=0
|
||||
@param stop stop address if >=0
|
||||
@param n number of loops (if level >=0)
|
||||
@returns OK/FAIL
|
||||
*/
|
||||
virtual int setCTBPatLoops(int level,int &start, int &stop, int &n)=0;
|
||||
|
||||
|
||||
/** Sets the wait address in the CTB
|
||||
@param level 0,1,2, wait level
|
||||
@param addr wait address, -1 gets
|
||||
@returns actual value
|
||||
*/
|
||||
virtual int setCTBPatWaitAddr(int level, int addr=-1)=0;
|
||||
|
||||
/** Sets the wait time in the CTB
|
||||
@param level 0,1,2, wait level
|
||||
@param t wait time, -1 gets
|
||||
@returns actual value
|
||||
*/
|
||||
virtual int setCTBPatWaitTime(int level, uint64_t t=-1)=0;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
static const int64_t thisSoftwareVersion=0x20120124;
|
||||
static const int64_t thisSoftwareVersion=0x20141013;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user