mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Marker extended for use on power domain traces
This commit is contained in:
parent
67489084e9
commit
b45645f04e
8 changed files with 213 additions and 74 deletions
|
|
@ -239,7 +239,7 @@ void TraceWidget::SetupSCPI()
|
|||
if(!t) {
|
||||
return "ERROR";
|
||||
}
|
||||
auto d = t->interpolatedSample(t->findExtremumFreq(true));
|
||||
auto d = t->interpolatedSample(t->findExtremum(true));
|
||||
return QString::number(d.x)+","+createStringFromData(t, d);
|
||||
}));
|
||||
add(new SCPICommand("MINAmplitude", nullptr, [=](QStringList params) -> QString {
|
||||
|
|
@ -247,7 +247,7 @@ void TraceWidget::SetupSCPI()
|
|||
if(!t) {
|
||||
return "ERROR";
|
||||
}
|
||||
auto d = t->interpolatedSample(t->findExtremumFreq(false));
|
||||
auto d = t->interpolatedSample(t->findExtremum(false));
|
||||
return QString::number(d.x)+","+createStringFromData(t, d);
|
||||
}));
|
||||
add(new SCPICommand("NEW", [=](QStringList params) -> QString {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue