discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Relative Path to File with File Sink/Source


From: Richard Bell
Subject: [Discuss-gnuradio] Relative Path to File with File Sink/Source
Date: Mon, 16 Mar 2015 10:51:47 -0700

Easy question here. I'm trying to use a relative path with file sink/source. It errors out with "can't open file".


I'm assuming the path is relative to the location of the .grc file location.

If the location of the .grc file was: /home/user1/proj1/devel/myfile.grc
And a data file was here: /home/user1/proj1/dat/datafile.dat
Then the path I use in file source is: ../dat/datafile.dat

What do I need to change to make this work?

Thanks,
Rich

reply via email to

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