discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Flow Graph Reconfiguration


From: Gould, Daniel N.
Subject: [Discuss-gnuradio] Flow Graph Reconfiguration
Date: Thu, 4 Sep 2014 20:27:31 +0000

I am trying to setup a flow graph that has 2 states, in which upon a state change the flow graph is reconfigured.

 

FlowGraph 1:

[src] -> [filt] -> [modem-1]

 

FlowGraph 2:

[src] -> [filt] -> [modem-2]

 

FG-1 runs to completion, is then disconnected. Then FG-2 is connected and executed. For both flowgraphs the src and filt are the same. The modems are switched out and as such the requirements on the filter output buffer size changes. The filter min_output_buffer size is adjusted following the disconnect from FG-1 and prior to connecting FG-2.

 

When FG-2 is executed I immediately get an error from the scheduler complaining that a downstream sample requirement can’t be met. However, when I query the min_output_buffer size from the offending upstream blocks they appear to be correct. I also have tried locking the FG, then disconnecting, reconfiguring, and unlocking (per the recommendation for dynamic FG configuration in the GnuRadio FAQs). However, there is no change in behavior. If I execute just FG-2 there is no error, so my assumption is that I am not doing something when switching up the configuration of the FG or it just does not work.

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]