adc invert for highz (#59)

This commit is contained in:
Dhanya Thattil
2019-08-29 10:12:10 +02:00
committed by GitHub
parent 1980a7d80c
commit 4f0634fe62
4 changed files with 84 additions and 13 deletions

View File

@@ -67,6 +67,7 @@ void qTabPlot::SetupWidgetWindow() {
case slsDetectorDefs::JUNGFRAU:
case slsDetectorDefs::MOENCH:
chkGainPlot->setEnabled(true);
chkADCInvert->setEnabled(true);
break;
default:
break;
@@ -129,6 +130,9 @@ void qTabPlot::Initialization() {
// gap pixels
if (chkGapPixels->isEnabled())
connect(chkGapPixels, SIGNAL(toggled(bool)), this, SLOT(SetGapPixels(bool)));
// adc invert
if (chkADCInvert->isEnabled())
connect(chkADCInvert, SIGNAL(toggled(bool)), plot, SLOT(EnableADCInvert(bool)));
// Save, clone
connect(btnSave, SIGNAL(clicked()), plot, SLOT(SavePlot()));
@@ -576,6 +580,7 @@ void qTabPlot::Refresh() {
case slsDetectorDefs::JUNGFRAU:
case slsDetectorDefs::MOENCH:
chkGainPlot->setEnabled(true);
chkADCInvert->setEnabled(true);
break;
default:
break;
@@ -585,6 +590,7 @@ void qTabPlot::Refresh() {
boxFrequency->setEnabled(false);
chkGainPlot->setEnabled(false);
chkGapPixels->setEnabled(false);
chkADCInvert->setEnabled(false);
}
FILE_LOG(logDEBUG) << "**Updated Plot Tab";