Wednesday, September 9, 2020

Re: How to toggle between two different file paths in File

Nevermind, am an idiot. Did what you said and it worked: tb.blocks_file_source_0.open('filename', True)

On Wed, Sep 9, 2020 at 11:26 AM Jonathan Morales <jonathan.morales100@gmail.com> wrote:
Thanks for the reply!

I tried doing that, but the data being transmitted doesn't change from the first file source. My actual code I entered was: 

tb.blocks_file_source_0 = blocks.file_source(gr.sizeof_char*1, 'filename', True)

Any thoughts on how to get the file source to actually switch?  

No comments:

Post a Comment