discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Vector Source variable from file


From: Tom
Subject: Re: [Discuss-gnuradio] Vector Source variable from file
Date: Sun, 15 Mar 2015 14:09:36 +1100

Thanks Mike,

I created python code to open the file which has the random data in in it
however unfortunately the vector source complains "can only concatenate list
(not module) to list, not quite sure what I'm doing wrong.

Will keep at it lol

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Mike Markowski
Sent: Sunday, 15 March 2015 11:55 AM
To: address@hidden
Subject: Re: [Discuss-gnuradio] Vector Source variable from file

Tom,

I'm new to gnuradio, so let's see if any replies offer better advice. 
But I did something similar to what you ask.  In my case, the value of the
variable is a call to my python code.  You can see what I did in the top two
examples at

   http://udel.edu/~mm/gr/

Both grc file and my code are there.  You can write something that pulls the
numbers from your file.

Good luck,
Mike

On 03/14/2015 07:36 PM, Tom wrote:
> Hi all,
>
> I have a vector source that repeats and points to two variables A + B 
> , within variable A is 1100 is it possible to have variable B point to 
> a file that contains a whole bunch of binary combinations separated 
> line by line.
>
> Ideally I would like to run a flow graph and upon every repeat cycle 
> to go down the list of possible combinations within the file for variable
B.
>
> Cheers

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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