How to use gr.char_to_float()?


#1

Hi, when i try to convert a stream of char in a stream of float, the out
file is not the correct archive, and the size of the file is very small
than
the correct archive.
when i connected the blocks, i do it as:

src=gr.file_source(gr.sizeof_char,in_filename)

ch2f=gr.char_to_float()

dst=gr.file_sink(sizeof_float,out_filename)

self.connect(src,ch2f,dst)

self.start()

how i have to connect the block for my conversion work good?


Grandes éxitos, superhéroes, imitaciones, cine y TV…
http://es.msn.kiwee.com/ Lo mejor para tu móvil.