diff options
author | Lars Amsel <lars.amsel@ni.com> | 2020-05-23 14:16:34 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-17 14:19:26 -0500 |
commit | eeae393ad4b1c0546922eab3c4decb39e5e69f4b (patch) | |
tree | 4f5cd1f40be83caf455c915a7fb61081f0761674 /tools | |
parent | 675bec3e3837c09bd10cdf309a1a3b556d94bd0d (diff) | |
download | uhd-eeae393ad4b1c0546922eab3c4decb39e5e69f4b.tar.gz uhd-eeae393ad4b1c0546922eab3c4decb39e5e69f4b.tar.bz2 uhd-eeae393ad4b1c0546922eab3c4decb39e5e69f4b.zip |
cal: Add automated port switch
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions