|
From: | Adam Gorski |
Subject: | Calling GR Functions in a Sync Block |
Date: | Sun, 6 Dec 2020 16:41:19 +0000 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |