Question on state machine implementation in GNURadio

Hi

I was just wondering if it is possible to implement a state machine
logic
using GNURadio. Where each state is a block and incoming data passes
through these states. I want to be able to control which block gets
executed when, based on some state transition logic which I will define.

For example in a receiver model, energy detect, synchronisation, channel
estimation, equalisation and detection could be the states and each
state
would operate on incoming data based on a transition logic. Programming
wise, each state will have its own class and there could be a state
class
to define the transitions. Just wondering if it’s possible to integrate
this into GNURadio.

Even if you could point me to already existing material on this, that
would
be enough.

Thanks a lot

Anil

Hi Anil,

On 05/31/2015 07:36 AM, Anil K. Yerrapragada wrote:

Hi

I was just wondering if it is possible to implement a state machine
logic using GNURadio. Where each state is a block and incoming data
passes through these states.
No. I don’t know what you really have in mind, but blocks are blocks and
not states.
I want to be able to control which block gets executed when, based on
some state transition logic which I will define.
You can always halt the flow graph and reconfigure it; for the problem
you’ve described I’d definitely use the tagged stream logic I tried to
explain.

For example in a receiver model, energy detect, synchronisation,
channel estimation, equalisation and detection could be the states and
each state would operate on incoming data based on a transition logic.
You should have a look at reconfiguration. But much more, I think it’s a
good idea to have a look at existing frameworks – maybe you’d want to
understand the ofdm_rx example in gr-digital/examples?

Best regards,
Marcus