mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
scans for 2d detectors should read every frame
This commit is contained in:
parent
7c58d3db46
commit
8a26eef0bf
@ -737,6 +737,18 @@ void qTabPlot::EnableScanBox(bool Histo){
|
||||
boxScan->setChecked(false);
|
||||
boxScan->setEnabled(false);
|
||||
|
||||
//2d scans read every frame, not compulsory, but for historgrams
|
||||
if((!isOriginallyOneD) && (mode0 || mode1)){
|
||||
//read every frame
|
||||
disconnect(spinNthFrame, SIGNAL(editingFinished()), this, SLOT(SetFrequency()));
|
||||
disconnect(comboFrequency, SIGNAL(currentIndexChanged(int)), this, SLOT(SetFrequency()));
|
||||
comboFrequency->setCurrentIndex(1);
|
||||
spinNthFrame->setValue(1);
|
||||
SetFrequency();
|
||||
connect(spinNthFrame, SIGNAL(editingFinished()), this, SLOT(SetFrequency()));
|
||||
connect(comboFrequency, SIGNAL(currentIndexChanged(int)), this, SLOT(SetFrequency()));
|
||||
}
|
||||
|
||||
//persistency, accumulate, pedestal, binary
|
||||
if(angConvert){
|
||||
if(chkSuperimpose->isChecked()) chkSuperimpose->setChecked(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user