From 14ed832af5bb3aebf4b8da9e1e96ad0e8d194c6e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 6 May 2020 15:53:21 -0700 Subject: 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. --- host/examples/python/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host/examples/python/CMakeLists.txt') 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) -- cgit v1.2.3