Fantastic, thank you! Adam Gorski Virginia Tech Applied Research Corporation (VT-ARC) Lead Communications Engineer 410-818-3188
From: Discuss-gnuradio <[email protected]> On Behalf Of Jeff Long Sent: Sunday, December 6, 2020 12:40 PM To: [email protected] Subject: 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 <[email protected]<mailto:[email protected]>> 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.xxxx() 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
