diff --git a/plugins/channelrx/noisefigure/noisefigure.cpp b/plugins/channelrx/noisefigure/noisefigure.cpp index f4ef3c25e..29752c2d9 100644 --- a/plugins/channelrx/noisefigure/noisefigure.cpp +++ b/plugins/channelrx/noisefigure/noisefigure.cpp @@ -411,7 +411,11 @@ void NoiseFigure::powerOn() #endif QString program = allArgs[0]; allArgs.pop_front(); - QProcess::execute(program, allArgs); + qDebug() << "NoiseFigure::powerOn(): Executing" << program << allArgs; + int exitCode = QProcess::execute(program, allArgs); + if (exitCode) { + qWarning() << "NoiseFigure::powerOn():" << program << "exited with code" << exitCode; + } } QStringList commands = m_settings.m_powerOnSCPI.split("\n"); @@ -434,7 +438,11 @@ void NoiseFigure::powerOff() #endif QString program = allArgs[0]; allArgs.pop_front(); - QProcess::execute(program, allArgs); + qDebug() << "NoiseFigure::powerOff(): Executing" << program << allArgs; + int exitCode = QProcess::execute(program, allArgs); + if (exitCode) { + qWarning() << "NoiseFigure::powerOff():" << program << "exited with code" << exitCode; + } } } diff --git a/plugins/channelrx/noisefigure/noisefigureplugin.cpp b/plugins/channelrx/noisefigure/noisefigureplugin.cpp index c674eb172..45728ddea 100644 --- a/plugins/channelrx/noisefigure/noisefigureplugin.cpp +++ b/plugins/channelrx/noisefigure/noisefigureplugin.cpp @@ -29,7 +29,7 @@ const PluginDescriptor NoiseFigurePlugin::m_pluginDescriptor = { NoiseFigure::m_channelId, QStringLiteral("Noise Figure"), - QStringLiteral("7.3.1"), + QStringLiteral("7.10.1"), QStringLiteral("(c) Jon Beniston, M7RCE"), QStringLiteral("https://github.com/f4exb/sdrangel"), true, diff --git a/plugins/channelrx/noisefigure/noisefiguresettings.cpp b/plugins/channelrx/noisefigure/noisefiguresettings.cpp index 27dccc40f..eb8363745 100644 --- a/plugins/channelrx/noisefigure/noisefiguresettings.cpp +++ b/plugins/channelrx/noisefigure/noisefiguresettings.cpp @@ -93,7 +93,7 @@ QByteArray NoiseFigureSettings::serialize() const s.writeString(10, m_visaDevice); s.writeString(11, m_powerOnSCPI); s.writeString(12, m_powerOffSCPI); - s.writeString(13, m_powerOffCommand); + s.writeString(13, m_powerOnCommand); s.writeString(14, m_powerOffCommand); s.writeDouble(15, m_powerDelay);