Forum: GNU Radio how to use gr.char_to_float() ????

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dbe09272058d4f21b28afb5a2ed28f1f?d=identicon&s=25 Jose luis jose louis (Guest)
on 2007-07-30 19:25
(Received via mailing list)
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.
This topic is locked and can not be replied to.