[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Examples of Python code using 'current_tags' function
From: |
Marcus D. Leech |
Subject: |
[Discuss-gnuradio] Examples of Python code using 'current_tags' function for Tag Debug block |
Date: |
Tue, 03 Sep 2019 01:21:34 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
The subject pretty-much says it all.
I'm looking for a Python example of code that uses the 'current_tags'
function for the Tag Debug block, and picks apart the resulting tag(s).
In Python land are the tags just a tuple/list or a dictionary? I've
snarfled through the generated SWIG code, and can't seem to decipher it.
I'd expect perhaps a tuple:
(offset, tag, value, srcid)
With "tag", "value" and "srcid" all being PMTs.
- [Discuss-gnuradio] Examples of Python code using 'current_tags' function for Tag Debug block,
Marcus D. Leech <=