discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File Sink - Question


From: Kevin Reid
Subject: Re: [Discuss-gnuradio] File Sink - Question
Date: Sat, 25 Feb 2017 08:14:21 -0800

On Sat, Feb 25, 2017 at 8:09 AM, Ellie White <address@hidden> wrote:
    self.blocks_file_sink_0 = blocks.file_sink(gr.sizeof_float*512, "C:\Users\Ellie\fm_data.dat", False)

Your problem is here. Those backslashes need to be escaped in the string literal.

Since this code was generated by GRC then this would seem to be a bug in GRC, unless it's really intended to accept backslash escapes inside an un-quoted string in which case you need to double all the backslashes or just use forward slashes.

reply via email to

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