rename EventKenshikushi to EventBuilder, added back loading setting when open digitizer
This commit is contained in:
parent
a7bd71e896
commit
dbf096b8ff
14
FSUDAQ.cpp
14
FSUDAQ.cpp
|
@ -625,15 +625,15 @@ void MainWindow::OpenDigitizers(){
|
|||
}
|
||||
|
||||
}else{
|
||||
// LogMsg("Found <b>" + fileName + "</b> for digitizer settings.");
|
||||
LogMsg("Found <b>" + fileName + "</b> for digitizer settings.");
|
||||
|
||||
// if( digi[i]->LoadSettingBinaryToMemory(fileName.toStdString().c_str()) == 0 ){
|
||||
// LogMsg("Loaded settings file <b>" + fileName + "</b> for Digi-" + QString::number(digi[i]->GetSerialNumber()));
|
||||
// digi[i]->ProgramSettingsToBoard();
|
||||
if( digi[i]->LoadSettingBinaryToMemory(fileName.toStdString().c_str()) == 0 ){
|
||||
LogMsg("Loaded settings file <b>" + fileName + "</b> for Digi-" + QString::number(digi[i]->GetSerialNumber()));
|
||||
digi[i]->ProgramSettingsToBoard();
|
||||
|
||||
// }else{
|
||||
// LogMsg("Fail to Loaded settings file " + fileName + " for Digi-" + QString::number(digi[i]->GetSerialNumber()));
|
||||
// }
|
||||
}else{
|
||||
LogMsg("Fail to Loaded settings file " + fileName + " for Digi-" + QString::number(digi[i]->GetSerialNumber()));
|
||||
}
|
||||
}
|
||||
digi[i]->ReadAllSettingsFromBoard(true);
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ ROOTLIBS = `root-config --cflags --glibs`
|
|||
|
||||
OBJS = ClassDigitizer.o MultiBuilder.o
|
||||
|
||||
ALL = test test_indep DataGenerator EventKenshikushi DataReaderScript
|
||||
ALL = test test_indep DataGenerator EventBuilder DataReaderScript
|
||||
|
||||
#########################################################################
|
||||
|
||||
|
@ -45,6 +45,6 @@ DataReaderScript : DataReaderScript.cpp ClassData.h MultiBuilder.o
|
|||
@echo "--------- making DataReaderScript"
|
||||
$(CC) $(COPTS) -o DataReaderScript DataReaderScript.cpp ClassData.h MultiBuilder.o $(CAENLIBS)
|
||||
|
||||
EventKenshikushi : EventKenshikushi.cpp ClassData.h MultiBuilder.o
|
||||
@echo "--------- making EventKenshikushi"
|
||||
$(CC) $(COPTS) -o EventKenshikushi EventKenshikushi.cpp MultiBuilder.o $(CAENLIBS) $(ROOTLIBS)
|
||||
EventBuilder : EventBuilder.cpp ClassData.h MultiBuilder.o
|
||||
@echo "--------- making EventBuilder"
|
||||
$(CC) $(COPTS) -o EventBuilder EventBuilder.cpp MultiBuilder.o $(CAENLIBS) $(ROOTLIBS)
|
Loading…
Reference in New Issue
Block a user