discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Jonathan Morales
Subject: Re: How to toggle between two different file paths in File
Date: Wed, 9 Sep 2020 12:00:10 -0400

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?  

reply via email to

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