Re: how to make stream demux block in python

2022-12-11 Thread Jeff Long
Right, it's not in 3.8. Here's the implementation in C++ for more recent versions. You could translate this to Python if you want. Note that it's a block (not a sync block) so you implement general_work() rather than work(). https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/stream_demux

Fwd: how to make stream demux block in python

2022-12-11 Thread Jeff Long
There is a built-in Stream Demux block you could use. Do you specifically need it to be in Python? On Sun, Dec 11, 2022 at 1:33 AM Sumit Agrawal (P19EE207) < agrawal...@iitj.ac.in> wrote: > Hi everyone, > Can anyone tell me how to make a stream demuxing block to demultiplex one > stream into N ou

how to make stream demux block in python

2022-12-10 Thread Sumit Agrawal (P19EE207)
Hi everyone, Can anyone tell me how to make a stream demuxing block to demultiplex one stream into N output streams? Demuxes a stream producing N outputs streams that contain n_0 items in the first stream, n_1 items in the second, etc., and repeats. Tags are propagated. The number of items in each