restrict SA graph options, show dBm instead dB

This commit is contained in:
Jan Käberich 2022-01-30 17:40:46 +01:00
parent b2ed124240
commit 0c782fc009
10 changed files with 132 additions and 52 deletions

View file

@ -64,6 +64,8 @@ VNA::VNA(AppWindow *window)
calEdited = false;
settings.sweepType = SweepType::Frequency;
traceModel.setSource(TraceModel::DataSource::VNA);
// Create default traces
auto tS11 = new Trace("S11", Qt::yellow);
tS11->fromLivedata(Trace::LivedataType::Overwrite, Trace::LiveParameter::S11);