discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: CEL
Subject: Re: [Discuss-gnuradio] Memory Blocks & Struct Variable
Date: Thu, 7 Jun 2018 12:00:03 +0000

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 ended up having large tables (1-2 K) of 
> possible variable I would like to insert into the grc. Inserting such a huge 
> table as a 2D array into a variable sounds like a pain in the neck. any more 
> useful ways to store memory in the grc?
> As a result of the above, I tried playing a bit with the "Struct Variable". 
> sadly, I couldn't figure out how to use the "set_variable()" method 
> correctly. say it's name is mag, and it has two fields: a,b. I tried 
> set_mag(1,2), or set_mag.a(1), or set_mag(struct({'a': 1, 'b': 2})). None 
> worked...
> Thanks a lot!
> Steve
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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