changed zmq method, and resolved warnings and from esrf

This commit is contained in:
Dhanya Maliakal
2017-05-03 17:57:56 +02:00
parent e2d1d58acf
commit 49b4ae2f56
8 changed files with 110 additions and 91 deletions

View File

@ -316,7 +316,7 @@ void DataProcessor::ProcessAnImage(char* buf) {
if (*fileWriteEnable)
file->WriteToFile(buf, generalData->fifoBufferSize + sizeof(sls_detector_header), fnum-firstMeasurementIndex);
if (rawDataReadyCallBack)
if (rawDataReadyCallBack) {
rawDataReadyCallBack(
header->frameNumber,
header->expLength,
@ -334,6 +334,7 @@ void DataProcessor::ProcessAnImage(char* buf) {
buf + sizeof(sls_detector_header),
generalData->imageSize,
pRawDataReady);
}
}