Comments (22)
With that Soapy HackRF Sink is working!
Thanks for all your help!!
from radioconda.
Hi! It's good that at least hackrf_info
works. Unfortunately the osmosdr sink definitely won't work since that hasn't been re-compiled with HackRF support yet, so we're left with trying to get Soapy to work. What is the output of the following?:
SoapySDRUtil --info
SoapySDRUtil --find
or maybe
SoapySDRUtil --find="driver=hackrf"
from radioconda.
from radioconda.
Strange. Aside from the UHD errors (which are interesting to me but don't effect your HackRF), it looks like Soapy detects the HackRF just fine. Do you get an error if you run the following?
python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])"
from radioconda.
Here is what I get when I enter that at the root directory and from the RadioConda directory:
C:>python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])"
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
C:>cd ProgramData\radioconda220207
C:\ProgramData\radioconda220207>python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])"
Traceback (most recent call last):
File "C:\ProgramData\radioconda220207\lib\site-packages\gnuradio\soapy_init_.py", line 17, in
from .soapy_python import *
ImportError: DLL load failed while importing soapy_python: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\radioconda220207\lib\site-packages\gnuradio\soapy_init_.py", line 21, in
from .soapy_python import *
ImportError: DLL load failed while importing soapy_python: The specified module could not be found.
from radioconda.
Did you run these commands from the "Conda Prompt (radioconda)"? And if not, can you try that? Sorry for lack of clarity. The conda environment has to be "activated" for the commands to be on your path, and for Python modules to be found.
from radioconda.
I am glad to try it but am not sure what you mean by "Conda Prompt (radioconda)"? Do you mean going to the directory I have RadioConda installed in?
I also am not sure how the environment is "activated"? How do I either do that or check that it was done?
from radioconda.
You should have an entry in your Start menu that is called "Conda Prompt (radioconda)". It would be in the "radioconda" directory in the Start menu. Launch that to get your command line. If you don't have that entry, I'll have to look up how to activate the environment from a basic command line.
When the environment is activated, you should see the environment name at the beginning of your prompt, e.g.
(base) C:\Users\rvolz>
It will also have the %CONDA_PREFIX%
environment variable defined, so that
echo %CONDA_PREFIX%
prints a path.
from radioconda.
To activate from a regular command prompt, see if
conda activate
works.
If it doesn't because the conda
command is unknown, then you have to cd
to the directory where you installed radioconda
cd C:\ProgramData\radioconda220207
then cd
to the condabin
subdirectory
cd condabin
then run
conda activate
from radioconda.
Either something is not right with my install or I am not understanding what you are telling me? When I go to the Windows start and enter "Conda Prompt (radioconda)" it points me to the internet and your instructions on loading RadioConda.
I have RadioConda installed in a directory C://ProgramData/radioconda220207.
Are you saying that I should go into the Windows Environment Variables and add this path there?
from radioconda.
To activate from a regular command prompt, see if
conda activate
works.
If it doesn't because the
conda
command is unknown, then you have tocd
to the directory where you installed radiocondacd C:\ProgramData\radioconda220207
then
cd
to thecondabin
subdirectorycd condabin
then run
conda activate
Let's forget about "Conda Prompt" for now and try my quoted comment from a regular command prompt.
As an aside, do you remember changing any of the default selections when installing radioconda? Maybe you chose not to add icons to the Start menu? How have you been running GNU Radio Companion if not from a Start menu icon or the Conda Prompt?
from radioconda.
That didn't work from the default directory but it did after I changed directories. Below is the command and the response:
C:\ProgramData\radioconda220207\condabin>conda activate
(base) C:\ProgramData\radioconda220207\condabin>
I don't remember changing any of the default values but I did not get an icon on the desktop. The 'target' for the desktop icon I use to start GRC is:
C:\ProgramData\radioconda220207\python.exe C:\ProgramData\radioconda_2\cwp.py C:\ProgramData\radioconda_2 C:\ProgramData\radioconda220207\Scripts\gnuradio-companion.exe
from radioconda.
C:\ProgramData\radioconda220207\python.exe C:\ProgramData\radioconda_2\cwp.py C:\ProgramData\radioconda_2 C:\ProgramData\radioconda220207\Scripts\gnuradio-companion.exe
The potential issue with this is that it seems to refer to two separate installations, one at C:\ProgramData\radioconda220207
and one at C:\ProgramData\radioconda_2
. You should modify those paths so that they all refer to the same installation directory, whichever it is that you want to use. Other than that, I think that should work for starting GRC.
Back to the Soapy debugging, now try running
python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])"
from the activated environment, i.e. after
C:\ProgramData\radioconda220207\condabin>conda activate
(base) C:\ProgramData\radioconda220207\condabin>
from radioconda.
I noticed something and found a way to get the HackRF to work. I have an installation of RadioConda for GRC 3.8. The desktop icon for that has:
"C:\Program Files\GNURadio-3.8\bin\run_GRC.bat"
The install for the 2/7/22 release doesn't have a bin directory. Should it?
Using that GRC and Osmocom the HackRF works just find and transmits the simulated ATSC signal.
I would still like to get the 2/7/22 release working with the Soapy HackRF Sink, but at least there is a point of comparison.
Going to your last note, here is what I get when I enter the command now:
(base) C:\ProgramData\radioconda220207\condabin>python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])"
[INFO] Opening HackRF One #0 a06063c825555c5f...
from radioconda.
I have an installation of RadioConda for GRC 3.8. The desktop icon for that has:
"C:\Program Files\GNURadio-3.8\bin\run_GRC.bat"
Sorry to say that's not radioconda, but rather Geof Nieboer's Windows installer: http://www.gcndevelopment.com/gnuradio/index.htm. It's a different beast, so that explains the different directory structure, etc. At least it can confirm that your device works with some version of GNU Radio.
Going to your last note, here is what I get when I enter the command now:
(base) C:\ProgramData\radioconda220207\condabin>python -c "from gnuradio import soapy; soapy.sink('driver=hackrf', 'fc32', 1, '', '', [''], [''])" [INFO] Opening HackRF One #0 a06063c825555c5f...
So that finds and opens your HackRF One as desired, which means that your GNU Radio Companion flowgraph should work. The fact it doesn't means that GRC is being launched without a properly activated environment. You should be able to get it to work if you run gnuradio-companion
from the same activated prompt that you ran that last command.
Other than that, I'd suspect that the mixed paths from your GRC icon are to blame:
C:\ProgramData\radioconda220207\python.exe C:\ProgramData\radioconda_2\cwp.py C:\ProgramData\radioconda_2 C:\ProgramData\radioconda220207\Scripts\gnuradio-companion.exe
The potential issue with this is that it seems to refer to two separate installations, one at
C:\ProgramData\radioconda220207
and one atC:\ProgramData\radioconda_2
. You should modify those paths so that they all refer to the same installation directory, whichever it is that you want to use.
from radioconda.
from radioconda.
Yes, I agree that improving the documentation will help. There is some mention of activation in the README, but clearly it's not prominent enough. What docs did you read (the README here, GNU Radio wiki, etc.)? How far did you get before your eyes glazed over with too much information? Where would it be helpful to mention activation so that you would have caught it?
I would hope most users would avoid this specific problem because they get a Start Menu icon and just use that, and I don't know why the installation failed to do that for you. But that's a mystery that I doubt we'll be able to figure out.
from radioconda.
from radioconda.
from radioconda.
from radioconda.
from radioconda.
from radioconda.
Related Issues (20)
- Missing object attribute in gfsk.py HOT 4
- Hermes Lite 2 Transceiver Support HOT 3
- Latest radioconda (install with conda) - Error HOT 4
- Anaconda navigator - Segmentation fault (core dumped) HOT 1
- Support Request for two currently GNURadio OOT packages HOT 2
- How to update radioconda HOT 1
- Python return code 3221225501 HOT 3
- Pluto not working with Radioconda 3.10.5.0 on Windows 10 HOT 2
- Is there any instruction for creating OOT module in Windows 10? HOT 6
- windows: gr-fosphor / fosphor_python 'DLL load failed, the specified module could not be found' HOT 4
- Error install spyder HOT 6
- Latest Radioconda package for Windows - GNU Radio companion doesn't work HOT 7
- installing additional package: gr-plasma HOT 2
- gnuradio-adsb OOT won't install HOT 3
- Problem with fosphor sink in GNUradio companion for Windows HOT 14
- Pausing the flowgraph freezes the app on Windows HOT 5
- Copying text cause crash HOT 7
- conda cannot start for windows HOT 2
- Request gr-dect2 HOT 1
- Radioconda not available for download and message in the browser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radioconda.