summaryrefslogtreecommitdiff
path: root/gr-blocks/examples/ctrlport/usrp_source_controller.py
Commit message (Collapse)AuthorAgeFilesLines
* blocks: pep8 formattingJosh Morman2021-11-241-4/+5
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* ctrlport: fix examplesjapm482020-03-061-2/+1
|
* python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-0/+1
|
* examples: replace OptionParser by ArgumentParserJiří Pinkava2016-09-201-21/+15
|
* uhd: Added controlport interface for UHD sink's "command" message handler.Tom Rondeau2015-12-061-10/+23
| | | | | | | | Also added an example, usrp_sink_controller.py, to excercise this feature. Fixed up the source example, too, to better manage parsing options and setting the UHD source block alias (defaults to 'gr uhd usrp source0', which is the default for any flowgraph with a single UHD source block).
* ctrlport: adding new examples.Tom Rondeau2015-10-161-0/+29
Explore simple cases of passing messages to message handlers over controlport. Installed into standard examples directory.