mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
resetting frames in file when creating a new hdf5 file
This commit is contained in:
parent
e55e18d5e9
commit
28572af3ab
@ -72,7 +72,7 @@ void BinaryDataFile::WriteToFile(char *buffer, const int buffersize,
|
||||
++subFileIndex_;
|
||||
CreateFile();
|
||||
}
|
||||
numFramesInFile_++;
|
||||
++numFramesInFile_;
|
||||
|
||||
// write to file
|
||||
int ret = 0;
|
||||
|
@ -128,7 +128,7 @@ void HDF5DataFile::CreateFirstHDF5DataFile(
|
||||
}
|
||||
|
||||
void HDF5DataFile::CreateFile() {
|
||||
|
||||
numFramesInFile_ = 0;
|
||||
numFilesInAcquisition_++;
|
||||
|
||||
std::ostringstream os;
|
||||
@ -237,7 +237,7 @@ void HDF5DataFile::WriteToFile(char *buffer, const int buffersize,
|
||||
++subFileIndex_;
|
||||
CreateFile();
|
||||
}
|
||||
numFramesInFile_++;
|
||||
++numFramesInFile_;
|
||||
|
||||
// extend dataset (when receiver start followed by many status starts
|
||||
// (jungfrau)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user