From 3fa51917051ca6a5a3e297fdc6dc95fed0ce33ef Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Mon, 23 Feb 2015 15:26:14 +0100 Subject: [PATCH] so that the dacs dont go negative in the gui, default timer reduced to 200ms so more frames can be shown --- slsDetectorGui/include/qDrawPlot.h | 2 +- slsDetectorGui/src/qTabDeveloper.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorGui/include/qDrawPlot.h b/slsDetectorGui/include/qDrawPlot.h index 2b09e840e..0b709b57d 100644 --- a/slsDetectorGui/include/qDrawPlot.h +++ b/slsDetectorGui/include/qDrawPlot.h @@ -481,7 +481,7 @@ double XYRangeValues[4]; bool IsXYRange[4]; /** Default timer between plots*/ -static const double PLOT_TIMER_MS = 250; +static const double PLOT_TIMER_MS = 200; /** Specific timer value between plots */ double timerValue; /** every nth frame when to plot */ diff --git a/slsDetectorGui/src/qTabDeveloper.cpp b/slsDetectorGui/src/qTabDeveloper.cpp index e2470b20a..258653f27 100644 --- a/slsDetectorGui/src/qTabDeveloper.cpp +++ b/slsDetectorGui/src/qTabDeveloper.cpp @@ -220,6 +220,7 @@ void qTabDeveloper::CreateDACWidgets(){ for(int i=0;isetMinimum(-1); spinDacs[i]->setMaximum(10000); lblDacsmV[i]= new QLabel("",boxDacs);