do the same when digitizer changed in scope
This commit is contained in:
parent
5f3b3909a0
commit
b79e125e88
|
@ -351,6 +351,10 @@ void Scope::ChangeDigitizer(){
|
||||||
|
|
||||||
digiMTX[index].lock();
|
digiMTX[index].lock();
|
||||||
ReadScopeSettings();
|
ReadScopeSettings();
|
||||||
|
if( digi[index]->IsAcqOn() ){
|
||||||
|
digi[index]->WriteValue(PHA::CH::ChannelEnable, "False", -1);
|
||||||
|
digi[index]->WriteValue(PHA::CH::ChannelEnable, "True", cbScopeCh->currentIndex());
|
||||||
|
}
|
||||||
digiMTX[index].unlock();
|
digiMTX[index].unlock();
|
||||||
allowChange = true;
|
allowChange = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user