stop digitziers from last to first

This commit is contained in:
Ryan Tang 2023-09-26 13:15:10 -04:00
parent e9d6f2a312
commit b667d4a416

View File

@ -526,7 +526,7 @@ void MainWindow::StopACQ(){
}
//=============== Stop digitizer
for( int i = 0; i < nDigi; i++){
for( int i = nDigi - 1; i >= 0; i--){
if( digi[i]->IsDummy () ) continue;
digi[i]->StopACQ();