mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
Possibility to sum up only fractions of frames in the Zmq process
This commit is contained in:
@ -204,15 +204,15 @@ class moench03T1ZmqDataNew : public slsDetectorData<uint16_t> {
|
||||
|
||||
|
||||
virtual char *readNextFrame(ifstream &filebin, int& ff, int &np, char *data) {
|
||||
char *retval=0;
|
||||
int nd;
|
||||
int fnum = -1;
|
||||
/* char *retval=0; */
|
||||
/* int nd; */
|
||||
/* int fnum = -1; */
|
||||
np=0;
|
||||
int pn;
|
||||
/* int pn; */
|
||||
|
||||
|
||||
if (ff>=0)
|
||||
fnum=ff;
|
||||
/* if (ff>=0) */
|
||||
/* fnum=ff; */
|
||||
|
||||
if (filebin.is_open()) {
|
||||
if (filebin.read(data, 32*2*nSamples) ){
|
||||
@ -221,7 +221,7 @@ class moench03T1ZmqDataNew : public slsDetectorData<uint16_t> {
|
||||
return data;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
return NULL;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user