Thursday, April 21, 2016

Re: [Discuss-gnuradio] FILE SINK Binary file error

Hi Ernest,

that question is asked pretty frequently, so here is a FAQ:

https://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#What-is-the-file-format-of-a-file_sink-How-can-I-read-files-produced-by-a-file-sink

Best regards,
Marcus

On 21.04.2016 15:47, ERNEST MATEY wrote:
‎Hi Experts,

I attached the output of my file sink. 
I was expecting a chain of binaries. 
I want to plot this on matlab. 
File - Source can replay this signal though
But how I can I see the binary chain? Is this what is should be. All I see are strange letters.  
What is happening 

Thank you
Ernest.  

Sent from my BlackBerry 10 smartphone.
From: Richard Bell
Sent: Friday, April 15, 2016 3:44 AM
Subject: [Discuss-gnuradio] gr-osmosdr python question

I'm new to using gr-osmosdr and I'm trying to implement the equivalent set of USRP function calls for a HackRF

set_center_freq(target_freq)
get_sensor("lo_locked")

which amounts to measuring how long it takes to command a frequency change and lock at the new frequency.

The set_center_freq function happens to be the same, but I don't know where to find documentation or example code that shows the get_sensor equivalent, or if it's even needed. Would someone direct me to an API manual for gr-osmosdr, or source code that defines these things?

Thanks,
Rich




_______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  

No comments:

Post a Comment