mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Add option to capture raw receiver values
This commit is contained in:
parent
a29c323556
commit
aeaf9340d3
5 changed files with 46 additions and 2 deletions
|
|
@ -651,7 +651,15 @@ bool Trace::isSAParameter(QString param)
|
|||
|
||||
bool Trace::isVNAParameter(QString param)
|
||||
{
|
||||
return param.length() == 3 && param[0] == 'S' && param[1].isDigit() && param[2].isDigit();
|
||||
if(param.length() == 3 && param[0] == 'S' && param[1].isDigit() && param[2].isDigit()) {
|
||||
// normal S parameter
|
||||
return true;
|
||||
}
|
||||
if(param.startsWith("RawPort")) {
|
||||
// raw receiver value
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
double Trace::velocityFactor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue