diff --git a/slsDetectorGui/forms/form_plot.ui b/slsDetectorGui/forms/form_plot.ui index cfc799d54..66d6e64a8 100644 --- a/slsDetectorGui/forms/form_plot.ui +++ b/slsDetectorGui/forms/form_plot.ui @@ -457,7 +457,7 @@ <html><head/><body><p>If sub images have missing packets</p></body></html> - Complete Image + Qt::AlignCenter @@ -523,6 +523,7 @@ + Cantarell 10 diff --git a/slsDetectorGui/include/qDrawPlot.h b/slsDetectorGui/include/qDrawPlot.h index 3dd42244e..92f660b50 100644 --- a/slsDetectorGui/include/qDrawPlot.h +++ b/slsDetectorGui/include/qDrawPlot.h @@ -123,7 +123,7 @@ class qDrawPlot : public QWidget, private Ui::PlotObject { QString zTitle2d{"Intensity"}; QString plotTitle{""}; QString indexTitle{""}; - bool completeImage{false}; + bool completeImage{true}; bool xyRangeChanged{false}; double xyRange[4]{0, 0, 0, 0}; bool isXYRange[4]{false, false, false, false}; diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index 8617c8206..804a26f49 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -107,7 +107,7 @@ void qDrawPlot::SetupPlots() { LOG(logINFO) << "nPixelsY:" << nPixelsY; widgetStatistics->hide(); - lblCompleteImage->hide(); + lblCompleteImage->show(); lblInCompleteImage->hide(); lblRxRoiEnabled->hide(); diff --git a/slsDetectorSoftware/src/DetectorImpl.cpp b/slsDetectorSoftware/src/DetectorImpl.cpp index 02ddcf7f5..e637d9106 100644 --- a/slsDetectorSoftware/src/DetectorImpl.cpp +++ b/slsDetectorSoftware/src/DetectorImpl.cpp @@ -557,7 +557,7 @@ void DetectorImpl::readFrameFromReceiver() { memset(multiframe.get(), 0xFF, multisize); } - completeImage = (numZmqRunning == (int)zmqSocket.size()); + completeImage = true; // get each frame for (unsigned int isocket = 0; isocket < zmqSocket.size(); ++isocket) { @@ -574,7 +574,6 @@ void DetectorImpl::readFrameFromReceiver() { // parse error, version error or end of acquisition for // socket runningList[isocket] = false; - completeImage = false; --numZmqRunning; continue; }