aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_power_cal.py
Commit message (Collapse)AuthorAgeFilesLines
* python: power cal: Minor fixes to power cal codeMartin Braun2020-08-171-1/+1
| | | | | | | | - Fix some typos - Fix incorrect arg name for RFSGPowerGenerator.enable() - Fix case where incorrect args would cause an uncaught TypeError. Now, if USRP is chose as signal generator, but fails to find one, a proper error is shown.
* cal: Add automated port switchLars Amsel2020-06-171-1/+9
| | | | | | | | | | | | | | | | | Current implementation needed manual interaction to calibrate each antenna. More sophisticated setups are able to switch between channels and antennas programmatically. This commit introduces a base class that handle the switch behaviour. The previous implementation moved to a ManualSwitch class which is the default switch. Without any options the previous flow remains unchanged. A new class is able to handle NI switch models. The switch port can be given via options parameter (comA is default). The channels are connected in ascending order. The user has to ensure that the cable setup matches the order given for channels and antennas. Co-authored-by: Martin Braun <martin.braun@ettus.com>
* utils/python: Add uhd_power_cal scriptMartin Braun2020-05-281-0/+250
This is a tool for running power calibration.