Regarding the information on the gr-soapy module page librespacefoundation / gr-soapy · GitLab, I am asking for your help. Unfortunately I could not find a description of a similar case anywhere on the web, so I decided to make this post.
After compiling the program in GNU Radio Companion environment and trying to run the compiled python code on my SDR HackRf One, I get the following error in the terminal:
File “/usr/local/lib/python3/dist-packages/soapy/soapy_swig.py”, line 345, in set_antenna
return _soapy_swig.source_sptr_set_antenna(self, channel, name)
RuntimeError: soapy::source: Antenna RX at channel 0 is not supported. Available antennas are: [TX/RX]
I have tried various ways, however I am unable to handle this error. I installed the gr-soapy module according to the instructions in the link above. During the first attempt to run the error appeared: “ImportError: No module named ‘SoapySDR’” however I have dealt with it as per this thread:
I should also add that the Soapy Sink block works fine. After typing the TX argument into the antenna field, compiling and running the compiled python code on my SDR HackRf One, everything works fine. The problem only occurs when trying to use the Soapy Source block.
GNU Radio Companion 22.214.171.124
HackRF One FW: release 2021.03.1
I will be grateful for any hints