3 ms·
I looked at the generated python code for some of my flows that do decimation. The __init__ section of python code makes connections. Then the main loop calls t
by mikewarot 6y ago
I looked at the generated python code for some of my flows that do decimation. The __init__ section of python code makes connections. Then the main loop calls the GNU Radio libraries and does a wait().
Here's the relevant section of code.
def main(top_block_cls=top_block, options=None):
tb = top_block_cls()
tb.Start(True)
tb.Wait()
if __name__ == '__main__':
main()
Note: Each connection has its own sample rate and type, which is implicit in the graph.