fix bug for elog
This commit is contained in:
parent
04e27e9d70
commit
6123e307d8
|
@ -1217,7 +1217,7 @@ void FSUDAQ::StartACQ(){
|
|||
influx->ClearDataPointsBuffer();
|
||||
}
|
||||
|
||||
if( elogID > 0 && !chkElog->isChecked() && chkSaveData->isChecked() ){
|
||||
if( elogID > 0 && chkElog->isChecked() && chkSaveData->isChecked() ){
|
||||
QString msg = "================================= Run-" + QString::number(runID).rightJustified(3, '0') + "<p>"
|
||||
+ QDateTime::currentDateTime().toString("MM.dd hh:mm:ss") + "<p>"
|
||||
+ startComment + "<p>"
|
||||
|
@ -1307,7 +1307,7 @@ void FSUDAQ::StopACQ(){
|
|||
influx->ClearDataPointsBuffer();
|
||||
}
|
||||
|
||||
if( elogID > 0 && !chkElog->isChecked() && chkSaveData->isChecked()){
|
||||
if( elogID > 0 && chkElog->isChecked() && chkSaveData->isChecked()){
|
||||
QString msg = QDateTime::currentDateTime().toString("MM.dd hh:mm:ss") + "<p>" + stopComment + "<p>";
|
||||
uint64_t totalFileSize = 0;
|
||||
for(unsigned int i = 0 ; i < nDigi; i++){
|
||||
|
|
Loading…
Reference in New Issue
Block a user