diff --git a/slsDetectorGui/forms/form_tab_plot.ui b/slsDetectorGui/forms/form_tab_plot.ui index 9d3ee2616..c96357286 100755 --- a/slsDetectorGui/forms/form_tab_plot.ui +++ b/slsDetectorGui/forms/form_tab_plot.ui @@ -2191,7 +2191,7 @@ Displays minimum, maximum and sum of values for each plot. 999999.000000000000000 - 200.000000000000000 + 500.000000000000000 diff --git a/slsDetectorGui/src/qTabPlot.cpp b/slsDetectorGui/src/qTabPlot.cpp index 9d7b89401..52190f282 100644 --- a/slsDetectorGui/src/qTabPlot.cpp +++ b/slsDetectorGui/src/qTabPlot.cpp @@ -75,6 +75,12 @@ void qTabPlot::SetupWidgetWindow() { Select1DPlot(is1d); Initialization(); Refresh(); + + // set default timer + spinTimeGap->setValue(DEFAULT_STREAMING_TIMER_IN_MS); + // set to streaming timer + stackedTimeInterval->setCurrentIndex(0); + comboFrequency->setCurrentIndex(0); } void qTabPlot::Initialization() { diff --git a/slsReceiverSoftware/src/receiver_defs.h b/slsReceiverSoftware/src/receiver_defs.h index 635bbedcf..a8d5b0beb 100755 --- a/slsReceiverSoftware/src/receiver_defs.h +++ b/slsReceiverSoftware/src/receiver_defs.h @@ -22,9 +22,6 @@ #define MYTHEN3_MAX_FRAMES_PER_FILE 10000 #define GOTTHARD2_MAX_FRAMES_PER_FILE 20000 -#define DO_NOTHING (0) -#define DO_EVERYTHING (1) - #define STATISTIC_FRAMENUMBER_INFINITE (20000) // binary diff --git a/slsSupportLib/include/sls_detector_defs.h b/slsSupportLib/include/sls_detector_defs.h index fa0178177..ca1537d0b 100644 --- a/slsSupportLib/include/sls_detector_defs.h +++ b/slsSupportLib/include/sls_detector_defs.h @@ -64,7 +64,7 @@ #define MAX_PATTERN_LENGTH 0x2000 -#define DEFAULT_STREAMING_TIMER_IN_MS 200 +#define DEFAULT_STREAMING_TIMER_IN_MS 500 #define NUM_RX_THREAD_IDS 8