set starting frame number of next acquisition for both jungfrau and e… (#27)

* set starting frame number of next acquisition for both jungfrau and eiger. firmware has not implemented a get, so workaround. tests included. frame number 0 not allowed due to Eiger. Eiger max frame is 48 bit, while jungfrau is 64 bit

* made argument of setstartingframenumber const
This commit is contained in:
Dhanya Thattil
2019-06-03 11:07:53 +02:00
committed by GitHub
parent 894cc1c9e0
commit 29141ac1a6
26 changed files with 398 additions and 40 deletions

View File

@ -156,9 +156,9 @@ class slsReceiverImplementation: private virtual slsDetectorDefs {
/**
* Get Current Frame Index for an entire acquisition (including all scans)
* @return -1 if no frames have been caught, else current frame index (represents all scans too)
* @return 0 if no frames have been caught, else average of all current frame index
*/
int64_t getAcquisitionIndex() const;
uint64_t getAcquisitionIndex() const;
//***connection parameters***
@ -586,7 +586,7 @@ class slsReceiverImplementation: private virtual slsDetectorDefs {
* The data receiver status will change from running to idle when it gets this number of frames
* @param i number of frames expected
*/
int setNumberOfFrames(const uint64_t i);
void setNumberOfFrames(const uint64_t i);
/**
* Set Number of Analog Samples expected by receiver from detector