I installed the Pothosware and Python tools into my Ubuntu 17.10 by following the steps below:
When I tried to set the RX antenna of my LimeSDR using SoapySDR Python support, it gave me strange results for LNAH and NONE antennas:
In [22]: sdr.setAntenna(SOAPY_SDR_RX, 0, ‘LNAH’)
In [23]: print(sdr.getAntenna(SOAPY_SDR_RX, 0))
NONE
In [24]: sdr.setAntenna(SOAPY_SDR_RX, 0, ‘NONE’)
In [25]: print(sdr.getAntenna(SOAPY_SDR_RX, 0))
LNAH
I can set the other antennas without any problem. Could it be a possible bug in SoapySDR?
[edit]
It seems the antenna setting with setAntenna is correct, but getAntenna reports a wrong antenna name.