Hello,
I am a radio amateur mostly experimenting with analog RF electronics, so certainly not an experienced programmer.
I have made a so-called Automatic Noise Figure Meter using a SDRPlay RSP1A as its receiver and I have used Python 3.7.9 (in Windows 10) to program the user interface and the required calculations.
The application is in D:\Python37\ANFM\ANFM_v01.py
In the same directory are SoapySDR.py, SoapySDR.dll, _SoapySDR.pyd and mir_sdr_api.dll.
And there is D:\Python37\Lib\SoapySDR\modules0.8\sdrPlaySupport.dll
The Soapy files are copied from a temporary PothosSDR installation (2019 version).
In this setup the program works, but I would like to make it an executable using the auto-py-to-exe program. That, unfortunately does not work. The RSP1A can no longer be found.
I noticed that the location of the sdrPlaySupport.dll is critical. It must be in the directory stated above or otherwise the RSP1A can not be found by the software. I think that this may be the problem that causes the problem with auto-py-to-exe. Therefore, I would like to put sdrPlaySupport.dll in the application directory but I have found no way to have the software find the dll if it is not in \Lib\SoapySDR\modules0.8.
Any ideas?
Best Regards,
Jos