mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Reset refernence on *RST, fix VNA:ACQ:RUN? query
This commit is contained in:
parent
c1d1bc7aed
commit
2963e8b3d5
5 changed files with 21 additions and 12 deletions
|
|
@ -322,6 +322,8 @@ void AppWindow::SetInitialState()
|
|||
modeHandler->createMode("Spectrum Analyzer", Mode::Type::SA);
|
||||
modeHandler->setCurrentIndex(vnaIndex);
|
||||
}
|
||||
|
||||
ResetReference();
|
||||
}
|
||||
|
||||
bool AppWindow::ConnectToDevice(QString serial, DeviceDriver *driver)
|
||||
|
|
@ -1043,6 +1045,12 @@ int AppWindow::UpdateDeviceList()
|
|||
return available;
|
||||
}
|
||||
|
||||
void AppWindow::ResetReference()
|
||||
{
|
||||
toolbars.reference.type->setCurrentIndex(0);
|
||||
toolbars.reference.outFreq->setCurrentIndex(0);
|
||||
}
|
||||
|
||||
//void AppWindow::StartManualControl()
|
||||
//{
|
||||
// if(!vdevice || vdevice->isCompoundDevice()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue