diff options
author | Jesse Zhang <65556515+jessezhang-ni@users.noreply.github.com> | 2020-07-22 19:55:05 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-30 12:51:11 -0500 |
commit | aca52b700282153760ae9331a791ddd41a2f4dd5 (patch) | |
tree | 0b93362fb169f2fe31258fe93b163ec8050e8dff /host/python | |
parent | 261197a18ffd36fafddf21158f92ed34a07abf77 (diff) | |
download | uhd-aca52b700282153760ae9331a791ddd41a2f4dd5.tar.gz uhd-aca52b700282153760ae9331a791ddd41a2f4dd5.tar.bz2 uhd-aca52b700282153760ae9331a791ddd41a2f4dd5.zip |
python: Add Switchboard block python bindings
Diffstat (limited to 'host/python')
-rw-r--r-- | host/python/pyuhd.cpp | 2 | ||||
-rw-r--r-- | host/python/uhd/rfnoc.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 6012ddfd5..96d62614f 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -23,6 +23,7 @@ namespace py = pybind11; #include "rfnoc/null_block_control_python.hpp" #include "rfnoc/radio_control_python.hpp" #include "rfnoc/rfnoc_python.hpp" +#include "rfnoc/switchboard_block_control_python.hpp" #include "rfnoc/vector_iir_block_control_python.hpp" #include "rfnoc/window_block_control_python.hpp" #include "stream_python.hpp" @@ -93,6 +94,7 @@ PYBIND11_MODULE(libpyuhd, m) export_moving_average_block_control(rfnoc_module); export_null_block_control(rfnoc_module); export_radio_control(rfnoc_module); + export_switchboard_block_control(rfnoc_module); export_vector_iir_block_control(rfnoc_module); export_window_block_control(rfnoc_module); diff --git a/host/python/uhd/rfnoc.py b/host/python/uhd/rfnoc.py index 01f632a83..8dfc18960 100644 --- a/host/python/uhd/rfnoc.py +++ b/host/python/uhd/rfnoc.py @@ -26,5 +26,6 @@ FirFilterBlockControl = lib.rfnoc.fir_filter_block_control MovingAverageBlockControl = lib.rfnoc.moving_average_block_control NullBlockControl = lib.rfnoc.null_block_control RadioControl = lib.rfnoc.radio_control +SwitchboardBlockControl = lib.rfnoc.switchboard_block_control VectorIirBlockControl = lib.rfnoc.vector_iir_block_control WindowBlockControl = lib.rfnoc.window_block_control |