SoapySDRUtil error

315 views
Skip to first unread message

Brandon Young

unread,
Jul 14, 2021, 10:57:31 AM7/14/21
to Pothos Users
Hi,

I get this error when running commands in SoapySDRUtil. 

←[1m←[31m[ERROR] sdrplay_api_Open() Error: sdrplay_api_Fail←[0m
←[1m←[31m[ERROR] Please check the sdrplay_api service to make sure it is up. If it is up, please restart it.←[0m
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.2; Boost_107500; UHD_4.0.0.HEAD-0-g90ce6062
←[1m←[31m[ERROR] SoapySDR::Device::enumerate(sdrplay) sdrplay_api_Open() failed←[0m

I'm currently using the BladeRF x40. I download the PothosSDR package from the website. I've been trying to use "qspectrumanalyzer" that uses soapysdr. When I run the program, it is unable to detect the BladeRF and I think that this is due to the error shown above. Does anyone know how to fix this? I've searched around and am at a loss. sdrplay3 is installed as it came with the PothoSdr package. 

Here is my device's info:

 Board:                    Nuand bladeRF (bladerf1)
  Serial #:                 c7cff2d11e720d5e9534a232c56d077c
  VCTCXO DAC calibration:   0x8e58
  FPGA size:                40 KLE
  FPGA loaded:              yes
  Flash size:               32 Mbit
  USB bus:                  1
  USB address:              7
  USB speed:                SuperSpeed
  Backend:                  libusb
  Instance:                 0

bladeRF> v

  bladeRF-cli version:        1.8.0
  libbladeRF version:         2.4.0

  Firmware version:           2.4.0-git-a3d5c55f
  FPGA version:               0.12.0 (configured by USB host)

Thanks for your help. 

ali Niazi

unread,
Jul 14, 2021, 12:39:35 PM7/14/21
to Pothos Users
What is your output when running "SoapySDRUtil --find"?

I've found that compiling everything from source is the best way to get it up and running. First compile and install SoapySDR, then your relevant BladeRF libraries and try again from there.

Brandon Young

unread,
Jul 14, 2021, 1:00:12 PM7/14/21
to Pothos Users
C:\Users\Byoung>SoapySDRUtil.exe --find
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

←[1m←[31m[ERROR] sdrplay_api_Open() Error: sdrplay_api_Fail←[0m
←[1m←[31m[ERROR] Please check the sdrplay_api service to make sure it is up. If it is up, please restart it.←[0m
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.2; Boost_107500; UHD_4.0.0.HEAD-0-g90ce6062
←[1m←[31m[ERROR] SoapySDR::Device::enumerate(sdrplay) sdrplay_api_Open() failed←[0m
Found device 0
  backend = libusb
  device = 0x01:0x08
  driver = bladerf
  instance = 0
  label = BladeRF #0 [c7cff2d1..c56d077c]
  serial = c7cff2d11e720d5e9534a232c56d077c

I put everything together through the windows installer. For obtaining SoapySDR I downloaded PothosSDR as it contains SoapySDR. It seems that doing it this way has caused issues and I've noticed that the BladeRF folder is missing some folders in comparison to the BladeRF-master folder. I will probably end up trying to build from source. I'm new to SDR's which is why I chose the route of using Windows installers. 
Message has been deleted

righthal...@gmail.com

unread,
Jul 14, 2021, 3:46:13 PM7/14/21
to Pothos Users
It is bitching about not having the SDRplay routines - you should not really need them, but why fight it.

you can get "SDRplay_RSP_API-Windows-3.07.2.exe" from -


that has the routines it is complaining about.

Brandon Young

unread,
Jul 15, 2021, 9:12:13 AM7/15/21
to Pothos Users
Thanks for your help, I'll give this a shot.
Reply all
Reply to author
Forward
0 new messages