Re: [Discuss-gnuradio] Memory Blocks & Struct Variable

2018-06-07 Thread shachar J. brown
Hi Marcus, Thanks for the quick response. I'm a bit confused by your answer. When I generate a grc flow graph, It automatically creates a python script with a set_mag() method. So yes, I can play around with the set_mag() method, but I think it's quite absurd that whoever created the "Struct

Re: [Discuss-gnuradio] Memory Blocks & Struct Variable

2018-06-07 Thread CEL
Sorry, I replied with an empty mail just now, confusion of keys. I added more coffee to solve the issue with the author. Steve, assuming your set_mag() is in C++: if you have control over the set_mag() method, write it so that it accepts vectors, for example. Then, you can just use Python lists

Re: [Discuss-gnuradio] Memory Blocks & Struct Variable

2018-06-07 Thread CEL
On Thu, 2018-06-07 at 08:45 +0300, shachar J. brown wrote: > Hi Everyone, > > I'm sure someone has encountered one of the following questions. Please help > me figure this out: > At certain points in my flow graph I have different scenarios, each demanding > a set of different parameters. I now

[Discuss-gnuradio] Memory Blocks & Struct Variable

2018-06-06 Thread shachar J. brown
Hi Everyone, I'm sure someone has encountered one of the following questions. Please help me figure this out: 1. At certain points in my flow graph I have different scenarios, each demanding a set of different parameters. I now ended up having large tables (1-2 K) of possible variable I