from gnuradio import analog
agc = analog.agc2_cc()

On Sun, Dec 6, 2020 at 11:58 AM Adam Gorski <adam.gor...@vt-arc.org> 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
>
>
>

Reply via email to