Hello,
I would like to connect bladerf_sink_c.cc to my python code.
https://github.com/osmocom/gr-osmosdr/b ... _sink_c.cc
However, i don't know how to import the cc file in the python code.
I wrote "import osmosdr". But it doesn't work.
Does anyone know what modules I should import in order to use the bladerf_sink_c file?
Thank you.
How to import bladerf in python code
Moderator: robert.ghilduta
- rtucker
- Posts: 77
- Joined: Sun Jan 25, 2015 10:38 am
Re: How to import bladerf in python code
Greetings...
For a practical example, take a look at:
https://github.com/Nuand/bladeRF/blob/m ... deRF_rx.py
You will need to have a working GNU Radio installation to use gr-osmosdr. Many Linux distributions provide it through their package manager, or you can install it using GNU Radio's PyBOMBS system (https://github.com/gnuradio/pybombs). If you're using PyBOMBS, note that you may need to use "pybombs run" to ensure the environment is set up correctly when running your script.
For a practical example, take a look at:
https://github.com/Nuand/bladeRF/blob/m ... deRF_rx.py
You will need to have a working GNU Radio installation to use gr-osmosdr. Many Linux distributions provide it through their package manager, or you can install it using GNU Radio's PyBOMBS system (https://github.com/gnuradio/pybombs). If you're using PyBOMBS, note that you may need to use "pybombs run" to ensure the environment is set up correctly when running your script.
Rey Tucker (she/her)
Systems Engineer, Nuand LLC
Rochester, NY, USA
#WontBeErased
Systems Engineer, Nuand LLC
Rochester, NY, USA
#WontBeErased
-
- Posts: 1
- Joined: Thu Feb 07, 2019 3:07 am
Re: How to import bladerf in python code
I have also gone to the GitHub but can't find the best way to do that. As I was confused that how will I implement the code. Will the code will debug and what if there some error happens and I not being able to fix that.
-
- Posts: 1
- Joined: Wed Feb 13, 2019 2:55 am
Re: How to import bladerf in python code
Thanks for such a great article here. I was searching for something like this for quite a long time and at last, I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays.Also Checkout:"https://www.credosystemz.com/training-i ... n-chennai/"