diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-05-06 15:53:21 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-19 13:30:20 -0500 |
commit | 14ed832af5bb3aebf4b8da9e1e96ad0e8d194c6e (patch) | |
tree | 5badd1dc1b5c293b1f71986df967cbe172534169 /host/examples/python/CMakeLists.txt | |
parent | d9e8e8261790609f2d53ab48bb6eb90cb6100376 (diff) | |
download | uhd-14ed832af5bb3aebf4b8da9e1e96ad0e8d194c6e.tar.gz uhd-14ed832af5bb3aebf4b8da9e1e96ad0e8d194c6e.tar.bz2 uhd-14ed832af5bb3aebf4b8da9e1e96ad0e8d194c6e.zip |
examples: Add usrp_power_meter example
This is a utility that can be used to measure received power, assuming
a calibrated device.
For example, it can be called like this:
usrp_power_meter.py -a type=x300 -f 1e9 --mode continuous
To continuously measure input power at 1 GHz.
Diffstat (limited to 'host/examples/python/CMakeLists.txt')
-rw-r--r-- | host/examples/python/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/examples/python/CMakeLists.txt b/host/examples/python/CMakeLists.txt index 23d1b83c6..e79b1bd4a 100644 --- a/host/examples/python/CMakeLists.txt +++ b/host/examples/python/CMakeLists.txt @@ -9,6 +9,9 @@ set(python_examples tx_waveforms.py curses_fft.py benchmark_rate.py + usrp_power_meter.py ) -UHD_INSTALL(PROGRAMS ${python_examples} DESTINATION ${PKG_LIB_DIR}/examples/python COMPONENT examples) +UHD_INSTALL(PROGRAMS ${python_examples} + DESTINATION ${PKG_LIB_DIR}/examples/python + COMPONENT examples) |