Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Accessors for LNB LO.

  • Loading branch information...
commit 4d5127cf2eb581b4880dc180ed360bcd5b682f26 1 parent 068795e
@csete csete authored
Showing with 14 additions and 0 deletions.
  1. +11 −0 qtgui/dockfcdctl.cpp
  2. +3 −0  qtgui/dockfcdctl.h
View
11 qtgui/dockfcdctl.cpp
@@ -34,6 +34,17 @@ DockFcdCtl::~DockFcdCtl()
}
+void DockFcdCtl::setLnbLo(double freq_mhz)
+{
+ ui->lnbSpinBox->setValue(freq_mhz);
+}
+
+double DockFcdCtl::lnbLo()
+{
+ return ui->lnbSpinBox->value();
+}
+
+
/*! \brief Set new LNA gain.
* \param gain The new gain in the range is -5.0 .. 30.0 dB.
*/
View
3  qtgui/dockfcdctl.h
@@ -34,6 +34,9 @@ class DockFcdCtl : public QDockWidget
explicit DockFcdCtl(QWidget *parent = 0);
~DockFcdCtl();
+ void setLnbLo(double freq_mhz);
+ double lnbLo();
+
void setLnaGain(float gain);
float lnaGain();
Please sign in to comment.
Something went wrong with that request. Please try again.