sorta done without missing packet identifiers

This commit is contained in:
Dhanya Maliakal
2015-07-28 18:15:09 +02:00
parent f970baf1b8
commit fa156f337e
4 changed files with 154 additions and 120 deletions

View File

@ -575,6 +575,9 @@ protected:
/** Pckets currently in current file, starts new file when it reaches max */
int packetsInFile;
/** Number of missing packets in file (sometimes packetsinFile is incorrect due to padded packets for eiger)*/
int numTotMissingPacketsInFile;
/** Frame index at start of an entire acquisition (including all scans) */
uint32_t startAcquisitionIndex;

View File

@ -461,7 +461,7 @@ private:
* When acquisition is over, this is called
* @param ithread listening thread number
*/
void stopWriting(int ithread);
void stopWriting(int ithread, char* wbuffer[]);
/**
* updates parameters and writes to file when not a dummy frame
@ -470,7 +470,7 @@ private:
* @param ithread writing thread number
* @param wbuffer writer buffer
*/
void handleWithoutDataCompression(int ithread, char* wbuffer[]);
void handleWithoutDataCompression(int ithread, char* wbuffer);
/**
* data compression for each fifo output

View File

@ -19,8 +19,8 @@ typedef int int32_t;
#define MAX_FRAMES_PER_FILE 20000
#define SHORT_MAX_FRAMES_PER_FILE 100000
#define MOENCH_MAX_FRAMES_PER_FILE 1000
#define EIGER_MAX_FRAMES_PER_FILE 20
#define JFCTB_MAX_FRAMES_PER_FILE 100000
#define EIGER_MAX_FRAMES_PER_FILE 2000
#define JFCTB_MAX_FRAMES_PER_FILE 100000
/**