discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] uses gr.file_sink 32 bit or 64 bit


From: feldmaus
Subject: [Discuss-gnuradio] uses gr.file_sink 32 bit or 64 bit
Date: Thu, 26 Mar 2009 11:12:51 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi All again, :-)

i want to save some output from the usrp and watch it with octave.
Therefor i know is something written at,
http://gnuradio.org/trac/wiki/Octave
quotation:
"Data captured directly from the USRP is stored as 32-bit complex, rather than
64-bit complex (gr.sizeof_gr_complex)"
So i think,
gr.file_sink(gr.sizeof_gr_complex*1, "capture.dat")
is to save 64 bit data and,
gr.file_sink(gr.sizeof_short*1, "capture.dat")
is to save 32 bit data.
Is that correct ?
But therefor i have to set the output type of my USRP
to short(is not default) ?
If i set the output type to complex then i would get
64 bit ?
USRP source Ouput Type complex --> 64 bit
USRP source Ouput Type short --> 32 bit
Is this correct ?

Regards Markus





reply via email to

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