|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] File Reading |
Date: | Tue, 9 Jun 2015 10:12:39 -0400 |
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?
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
[Prev in Thread] | Current Thread | [Next in Thread] |