so that the dacs dont go negative in the gui, default timer reduced to 200ms so more frames can be shown

This commit is contained in:
Dhanya Maliakal 2015-02-23 15:26:14 +01:00
parent 4a755d96ce
commit 3fa5191705
2 changed files with 2 additions and 1 deletions

View File

@ -481,7 +481,7 @@ double XYRangeValues[4];
bool IsXYRange[4]; bool IsXYRange[4];
/** Default timer between plots*/ /** Default timer between plots*/
static const double PLOT_TIMER_MS = 250; static const double PLOT_TIMER_MS = 200;
/** Specific timer value between plots */ /** Specific timer value between plots */
double timerValue; double timerValue;
/** every nth frame when to plot */ /** every nth frame when to plot */

View File

@ -220,6 +220,7 @@ void qTabDeveloper::CreateDACWidgets(){
for(int i=0;i<NUM_DAC_WIDGETS;i++){ for(int i=0;i<NUM_DAC_WIDGETS;i++){
lblDacs[i] = new QLabel(QString(dacNames[i].c_str()),boxDacs); lblDacs[i] = new QLabel(QString(dacNames[i].c_str()),boxDacs);
spinDacs[i] = new MyDoubleSpinBox(i,boxDacs); spinDacs[i] = new MyDoubleSpinBox(i,boxDacs);
spinDacs[i]->setMinimum(-1);
spinDacs[i]->setMaximum(10000); spinDacs[i]->setMaximum(10000);
lblDacsmV[i]= new QLabel("",boxDacs); lblDacsmV[i]= new QLabel("",boxDacs);