mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
in between
This commit is contained in:
parent
46b23dba24
commit
7a3e08406a
@ -557,10 +557,10 @@ private:
|
||||
|
||||
|
||||
/* Acquisition started */
|
||||
bool acqStarted[MAX_NUMBER_OF_LISTENING_THREADS];
|
||||
bool acqStarted;
|
||||
|
||||
/* Measurement started */
|
||||
bool measurementStarted[MAX_NUMBER_OF_LISTENING_THREADS];
|
||||
bool measurementStarted;
|
||||
|
||||
/** Total Frame Count listened to by listening threads */
|
||||
int totalListeningFrameCount[MAX_NUMBER_OF_LISTENING_THREADS];
|
||||
|
@ -150,10 +150,10 @@ void UDPStandardImplementation::initializeMembers(){
|
||||
for(int i = 0; i < MAX_NUMBER_OF_LISTENING_THREADS; ++i){
|
||||
startAcquisitionIndex[i] = 0;
|
||||
startFrameIndex[i] = 0;
|
||||
acqStarted[i] = false;
|
||||
measurementStarted[i] = false;
|
||||
totalListeningFrameCount[i] = 0;
|
||||
}
|
||||
acqStarted = false;
|
||||
measurementStarted = false;
|
||||
for(int i=0; i<MAX_NUMBER_OF_WRITER_THREADS; i++){
|
||||
frameIndex[i] = 0;
|
||||
currentFrameNumber[i] = 0;
|
||||
@ -795,8 +795,9 @@ int UDPStandardImplementation::setDetectorType(const detectorType d){
|
||||
for(int i=0; i<MAX_NUMBER_OF_WRITER_THREADS; i++){
|
||||
if(latestData[i]) {delete[] latestData; latestData = NULL;}
|
||||
guiData[i] = NULL;
|
||||
latestData[i] = new char[frameSize];
|
||||
}
|
||||
latestData = new char[frameSize];
|
||||
|
||||
|
||||
//updates File Header
|
||||
if(myDetectorType == EIGER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user