summaryrefslogtreecommitdiff
path: root/gr-iio/python/iio/bindings/fmcomms2_source_python.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-iio/python/iio/bindings/fmcomms2_source_python.cc')
-rw-r--r--gr-iio/python/iio/bindings/fmcomms2_source_python.cc58
1 files changed, 20 insertions, 38 deletions
diff --git a/gr-iio/python/iio/bindings/fmcomms2_source_python.cc b/gr-iio/python/iio/bindings/fmcomms2_source_python.cc
index 22a7ace50f..2ca9100f28 100644
--- a/gr-iio/python/iio/bindings/fmcomms2_source_python.cc
+++ b/gr-iio/python/iio/bindings/fmcomms2_source_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(fmcomms2_source.h) */
-/* BINDTOOL_HEADER_FILE_HASH(1069e19d257339872c0475ae5ec2e478) */
+/* BINDTOOL_HEADER_FILE_HASH(0) */
/***********************************************************************************/
#include <pybind11/complex.h>
@@ -41,46 +41,28 @@ void bind_fmcomms2_source(py::module& m)
.def(py::init(&fmcomms2_source::make),
py::arg("uri"),
- py::arg("longfrequency"),
- py::arg("samplerate"),
- py::arg("bandwidth"),
- py::arg("ch1_en"),
- py::arg("ch2_en"),
- py::arg("ch3_en"),
- py::arg("ch4_en"),
+ py::arg("ch_en"),
py::arg("buffer_size"),
- py::arg("quadrature"),
- py::arg("rfdc"),
- py::arg("bbdc"),
- py::arg("gain1"),
- py::arg("gain1_value"),
- py::arg("gain2"),
- py::arg("gain2_value"),
- py::arg("rf_port_select"),
- py::arg("filter_source") = "",
- py::arg("filter_filename") = "",
- py::arg("Fpass") = 0.0,
- py::arg("Fstop") = 0.0,
D(fmcomms2_source, make))
- .def("set_params",
- &fmcomms2_source::set_params,
- py::arg("longfrequency"),
- py::arg("samplerate"),
- py::arg("bandwidth"),
- py::arg("quadrature"),
- py::arg("rfdc"),
- py::arg("bbdc"),
- py::arg("gain1"),
- py::arg("gain1_value"),
- py::arg("gain2"),
- py::arg("gain2_value"),
- py::arg("rf_port_select"),
- py::arg("filter_source") = "",
- py::arg("filter_filename") = "",
- py::arg("Fpass") = 0.0,
- py::arg("Fstop") = 0.0,
- D(fmcomms2_source, set_params))
+ // .def("set_params",
+ // &fmcomms2_source::set_params,
+ // py::arg("longfrequency"),
+ // py::arg("samplerate"),
+ // py::arg("bandwidth"),
+ // py::arg("quadrature"),
+ // py::arg("rfdc"),
+ // py::arg("bbdc"),
+ // py::arg("gain1"),
+ // py::arg("gain1_value"),
+ // py::arg("gain2"),
+ // py::arg("gain2_value"),
+ // py::arg("rf_port_select"),
+ // py::arg("filter_source") = "",
+ // py::arg("filter_filename") = "",
+ // py::arg("Fpass") = 0.0,
+ // py::arg("Fstop") = 0.0,
+ // D(fmcomms2_source, set_params))
;
}