mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
workflow update + minor bugs/warnings fixes
This commit is contained in:
parent
69b2fac95f
commit
67a186be4f
5 changed files with 23 additions and 23 deletions
|
|
@ -243,7 +243,7 @@ void CalDevice::loadCoefficientSetsThreadSlow(QStringList names, QList<int> port
|
|||
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_SHORT").toInt();
|
||||
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_LOAD").toInt();
|
||||
for(int jdx=idx+1;jdx<numPorts;jdx++) {
|
||||
int j = ports[j];
|
||||
int j = ports[jdx];
|
||||
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+QString::number(j)+"_THROUGH").toInt();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ void CompoundDeviceEditDialog::checkIfOkay()
|
|||
// Check port mapping
|
||||
// Looking for duplicate and missing ports
|
||||
bool highestPortFound = false;
|
||||
unsigned int highestPort;
|
||||
unsigned int highestPort = 0;
|
||||
for(unsigned int port=0;port<2*ldev.deviceSerials.size();port++) {
|
||||
int num = 0;
|
||||
for(unsigned int i=0;i<deviceFrames.size();i++) {
|
||||
|
|
|
|||
|
|
@ -646,7 +646,7 @@ VNA::VNA(AppWindow *window, QString name)
|
|||
|
||||
Calibration::InterpolationType VNA::getCalInterpolation()
|
||||
{
|
||||
double f_min, f_max;
|
||||
double f_min = 0, f_max = 0;
|
||||
switch(settings.sweepType) {
|
||||
case SweepType::Last:
|
||||
// should never get here, use frequency values just in case
|
||||
|
|
@ -976,7 +976,7 @@ void VNA::NewDatapoint(DeviceDriver::VNAMeasurement m)
|
|||
window->addStreamingData(m_avg, AppWindow::VNADataType::Calibrated);
|
||||
}
|
||||
|
||||
TraceMath::DataType type;
|
||||
TraceMath::DataType type = TraceMath::DataType::Frequency;
|
||||
if(settings.zerospan) {
|
||||
type = TraceMath::DataType::TimeZeroSpan;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue