Hi Mohammad,
what you decribe as use case very well matches what
gr-eventstream does! So, no need to invent such a block (it's
generally non-trivial to do so, as the GNU Radio scheduler as is
will only call your block if either there's new input or new
output space).
Best regards,
Marcus
On 09/08/2017 01:05 PM, mohammad nejati
wrote:
Hi ,
I need one block that connect input port 0 to output if there are
items on that and if there are no items then connect input port 1 to
output , my idea is never stop qam modulator even when there are no
packet in input (TUNTAP PDU) , in other word i want fill the time gaps
between packets with random bits , in receiver side i will find my
packets with correlating access code without problem .
I attached an image of grc flow graph that shows what i mean .
I don't want implement a bursty transceiver which is quite complicated .
I want implement this block with python but i have no idea of how i
can start and what type of block i need , i search internet but didn't
find useful guide . i just implemented python sync block so far .
Cheers .
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio