when open digitizer, always set no trace recording
This commit is contained in:
parent
3b3a22382b
commit
968259787b
|
@ -206,6 +206,10 @@ class Digitizer{
|
|||
return returnData;
|
||||
}
|
||||
|
||||
void SetTrace(bool onOff){
|
||||
SetBits(DPP::BoardConfiguration, DPP::Bit_BoardConfig::RecordTrace, onOff, -1);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -684,6 +684,9 @@ void FSUDAQ::OpenDigitizers(){
|
|||
digi[i] = new Digitizer(portList[i].first, portList[i].second);
|
||||
//digi[i]->Reset();
|
||||
|
||||
//===== set no trace, even when FSQDAQ segfault at scope, the digitizer will save no trace
|
||||
digi[i]->SetTrace(false);
|
||||
|
||||
if( cbOpenMethod->currentData().toInt() == 2 ) {
|
||||
digi[i]->ProgramBoard();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user