mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-01 02:10:05 +02:00
to reduce warning in between plotting
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@255 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
parent
922c7ede92
commit
32e4af910d
@ -585,6 +585,9 @@ void qTabPlot::SetFrequency(){
|
||||
acqPeriodMS = (myDet->setTimer(slsDetectorDefs::ACQUISITION_TIME,-1)*(1E-6));
|
||||
|
||||
if(acqPeriodMS==0){
|
||||
//to reduce the warnings displayed
|
||||
if((comboFrequency->currentIndex() == 0) && (spinTimeGap->value() == minPlotTimer));
|
||||
else
|
||||
qDefs::Message(qDefs::WARNING,"<nobr>Interval between Plots:</nobr><br><nobr>"
|
||||
"<b>Every Nth Image</b>: Period betwen Frames and Exposure Time cannot both be 0 ms.</nobr><br><nobr>"
|
||||
"Resetting to minimum plotting time interval","qTabPlot::SetFrequency");
|
||||
|
Loading…
x
Reference in New Issue
Block a user