Calling GR Functions in a Sync Block
Community, Is there any way to call GR functions from within a sync block? I am attempting to put code from a deprecated hierarchical block (dbpsk_demod) into a custom sync block that carries out dbpsk demodulation from within a sync block. I am using the sync block because I need to demodulation to occur only for specific packets that are tagged by a preceding block. Any calls to gr.() result in an error, ex. 'module' object has no attribute 'agc2_cc'. As an alternative I figured perhaps I can add the tag selection code from the sync block into the hierarchical block, however I am not aware how to combine the work function of the sync block with the hierarchical block code. Any help is appreciated, thank you! Adam Gorski Virginia Tech Applied Research Corporation (VT-ARC) Lead Communications Engineer 410-818-3188
Re: Calling GR Functions in a Sync Block
from gnuradio import analog agc = analog.agc2_cc() On Sun, Dec 6, 2020 at 11:58 AM Adam Gorski wrote: > Community, > > > > Is there any way to call GR functions from within a sync block? I am > attempting to put code from a deprecated hierarchical block (dbpsk_demod) > into a custom sync block that carries out dbpsk demodulation from within a > sync block. I am using the sync block because I need to demodulation to > occur only for specific packets that are tagged by a preceding block. > > > > Any calls to gr.() result in an error, ex. ‘module’ object has no > attribute ‘agc2_cc’. > > > > As an alternative I figured perhaps I can add the tag selection code from > the sync block into the hierarchical block, however I am not aware how to > combine the work function of the sync block with the hierarchical block > code. > > > > Any help is appreciated, thank you! > > > > Adam Gorski > > Virginia Tech Applied Research Corporation (VT-ARC) > > Lead Communications Engineer > > 410-818-3188 > > >
Library libbladeRF for bladeRF 2.0 micro xA4
Hello, I am considering buying an SDR model bladeRF 2.0 micro xA4 that is supposed to be compatible with GNU Radio through the library libbladeRF. Does anyone have previous experience handling this model with GNU Radio or other models by Nuand? I have experience with USRP and UHD, witch integration with GNU Radio is great, but I do not if that would be the case with libbladeRF. Any input would be greatly appreciated. Thank you in advance! Alvaro
Re: Library libbladeRF for bladeRF 2.0 micro xA4
On 12/6/20 12:41 PM, Alvaro Pendas Recondo wrote: Hello, I am considering buying an SDR model bladeRF 2.0 micro xA4 that is supposed to be compatible with GNU Radio through the library libbladeRF. Does anyone have previous experience handling this model with GNU Radio or other models by Nuand? I have experience with USRP and UHD, witch integration with GNU Radio is great, but I do not if that would be the case with libbladeRF. Any input would be greatly appreciated. Thank you in advance! Alvaro I built the bladerf stuff on a raspberry pi a couple of years back to go along with OpenBTS/gnuradio. It was fairly straight forward
Re: Library libbladeRF for bladeRF 2.0 micro xA4
I used gnuradio with a bladeRF 2.0 micro xA9 this summer with a raspberry pi running ubuntu. Once I got everything figured out it worked great. You just have to make sure you have all of the necessary dependencies installed. You should also use Ubuntu 20.04. I got compilation errors for Raspbian and older Ubuntu versions because they lacked the necessary dependencies. On Sun, Dec 6, 2020 at 3:49 PM Alvaro Pendas Recondo wrote: > Hello, > > I am considering buying an SDR model bladeRF 2.0 micro xA4 that is > supposed to be compatible with GNU Radio through the library libbladeRF. > Does anyone have previous experience handling this model with GNU Radio or > other models by Nuand? I have experience with USRP and UHD, witch > integration with GNU Radio is great, but I do not if that would be the case > with libbladeRF. Any input would be greatly appreciated. > > Thank you in advance! > > Alvaro >