mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
allow different paramaters for male/female standards
This commit is contained in:
parent
82891ac766
commit
55ac50ee84
7 changed files with 1416 additions and 678 deletions
|
|
@ -30,7 +30,8 @@ CalibrationTraceDialog::CalibrationTraceDialog(Calibration *cal, double f_min, d
|
|||
if(type != Calibration::Type::None) {
|
||||
auto kit = cal->getCalibrationKit();
|
||||
auto isTRL = type == Calibration::Type::TRL;
|
||||
if(kit.minFreq(isTRL) > f_min || kit.maxFreq(isTRL) < f_max) {
|
||||
if(isTRL && (kit.minFreqTRL() > f_min || kit.maxFreqTRL() < f_max)) {
|
||||
// TODO check SOLT frequency range depending on selected male/female kit
|
||||
InformationBox::ShowMessage("Warning", "The calibration kit does not completely cover the currently selected span. "
|
||||
"Applying a calibration will not be possible for any measurements taken with these settings.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue