discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File Reading


From: Ashraf Younis
Subject: Re: [Discuss-gnuradio] File Reading
Date: Tue, 9 Jun 2015 10:42:09 -0400

This helps a lot. Thank you. I hope I'm adding this reply to the list correctly.

On Tue, Jun 9, 2015 at 10:12 AM, Tom Rondeau <address@hidden> wrote:
On Tue, Jun 9, 2015 at 9:17 AM, Ashraf Younis <address@hidden> wrote:
Thank you for responding. I'm still new to GRC, so I don't know how to go about doing that. Would I have to write a .py file? Then how would I import it to GRC?


Please keep replies on the list.

So I was about to reply something along the lines of "It's just Python, you can figure it out," but then I realized that we provide a good mechanism for handling this; it's just not well exposed. So I wrote a tutorial on it this morning:


Hope this helps.

Tom


 
On Tue, Jun 9, 2015 at 9:10 AM, Tom Rondeau <address@hidden> wrote:
On Tue, Jun 9, 2015 at 8:31 AM, Ashraf Younis <address@hidden> wrote:
I am having trouble reading a file and putting it as a variable or some way so that the USRP Source block will read it and evaluate each item. I'm using a file source and i tried connecting to a message sink, but I'm stuck there because the output of the sink does not match the input of the USRP Source. Is there a way to have a txt file read and put into a array of some sort to be evaluated?
 
The file source block reads binary data that it converts to stream of samples.

What you want sounds like you could write a simple Python function to accomplish.

Tom





reply via email to

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