Re: [Discuss-gnuradio] help me to design a hierarchical block

2016-07-26 Thread Ed Coleman
an example of a hier block .grc > and a .grc where you use that hier block ? > > Best regards, > Marcus > > > On 25.07.2016 22:19, Ed Coleman wrote: > > > I 'thought' that my reply would appear threaded within the discussion I > was reading ( > https://list

Re: [Discuss-gnuradio] help me to design a hierarchical block

2016-07-25 Thread Ed Coleman
I 'thought' that my reply would appear threaded within the discussion I was reading ( https://lists.gnu.org/archive/html/discuss-gnuradio/2013-02/msg00336.html) my apologies for any confusion On Mon, Jul 25, 2016 at 3:35 PM, Ed Coleman wrote: > This was a very helpful in

Re: [Discuss-gnuradio] help me to design a hierarchical block

2016-07-25 Thread Ed Coleman
This was a very helpful introduction to hierarchical blocks. One thing I am unclear on is how a parameter in a hier block is controlled via the top block. For example suppose I have a moving average block inside my hier block and I want the number of averages to be defined from the top block. Wit

Re: [Discuss-gnuradio] Seeking a method to expose a floating point value

2016-07-20 Thread Ed Coleman
rs with a chunk of workload at once; so possibly > this isn't even a problem, because the program you want to use to work on > that data might be expecting buffers of samples, too. > > Best regards, > > Marcus > On 19.07.2016 22:11, Ed Coleman wrote: > > Hello Mar

Re: [Discuss-gnuradio] Seeking a method to expose a floating point value

2016-07-19 Thread Ed Coleman
hat throttle gets a block of e.g. 4096 input items, passes them, and then waits 4096/32000 until it looks for new input. Best regards, Marcus On 19.07.2016 20:32, Ed Coleman wrote: Considering the simple flow graph attached, a random number is generated at a sample rate of 32kHz. I’m seeking

[Discuss-gnuradio] Seeking a method to expose a floating point value @ the flow graph sample rate

2016-07-19 Thread Ed Coleman
Considering the simple flow graph attached, a random number is generated at a sample rate of 32kHz. I’m seeking a method to ‘expose’ the floating point number to external python code. This code would need to be updated at every 'tic' of the sample rate. Initially I had considered using the probe

Re: [Discuss-gnuradio] proper use of start(), stop(), and wait() to interact with program flow

2016-06-29 Thread Ed Coleman
Kevin: Thank you for the quick and complete reply, I appreciate the help! -Ed On Wed, Jun 29, 2016 at 11:04 AM, Kevin Reid wrote: > On Jun 29, 2016, at 07:50, Ed Coleman wrote: > > if __name__ == '__main__': > > simpleTone().run() > > > > The code ab

[Discuss-gnuradio] proper use of start(), stop(), and wait() to interact with program flow

2016-06-29 Thread Ed Coleman
I'm experimenting with writing GNUradio scripts in python. My eventual goal is to have a routine that periodically writes a floating point result from within a GNUradio process to the serial port. As a first step I wanted to try and interact with a simple routine by simply pausing after a short tim