|
From: | Dan Halperin |
Subject: | Re: [Discuss-gnuradio] slicer question |
Date: | Fri, 23 Mar 2007 22:15:42 -0700 |
User-agent: | Thunderbird 1.5.0.10 (X11/20070303) |
George Barrinuevo wrote:
---------- complex_to_float = gr.complex_to_float () slicer = gr.binary_slicer_fb() dst_file = gr.file_sink(gr.sizeof_float, "out_file2.txt") self.connect (ddc, complex_to_float, slicer, dst_file)
<snip>
---------- ValueError: source and destination data sizes are different: binary_slicer_fb file_sink
That's because you set your file sink to take floats. I suspect you want gr.sizeof_char .
-D
[Prev in Thread] | Current Thread | [Next in Thread] |