Search found 97 matches

by Sasan
Sun Mar 20, 2016 7:36 pm
Forum: SDRplay related
Topic: Mode A & Mode C (Mode S, ADSB)
Replies: 10
Views: 4058

Re: Mode A & Mode C (Mode S, ADSB)

Thank you SDRPlay team. I compiled the code on Mac OS and it works great. I'm in vacation now (in a rural area which is not near an airway corridor) and I managed to get a plane's information which was more than 100Km far from my location. I used a simple telescopic antenna inside a room (ANT500, th...
by Sasan
Thu Mar 17, 2016 9:30 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

@0815: I compiled your code on OS X 10.11.3 and it works (gcc: Apple LLVM version 7.0.2 (clang-700.1.81) ) About the warnings: as the compiler itself suggests, you should use parentheses around the shift operation: buffer[j++] = (unsigned char) ((ibuf[i] >> 8) + 127); buffer[j++] = (unsigned char) (...
by Sasan
Wed Mar 16, 2016 10:40 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

sdrplay wrote:For 16bit output the 2nd parameter in the fwrite statement should be a 2 otherwise it's only writing 8 bits of the buffer value.

Best regards,

SDRplay Support


Thank you very much.
This solves the problem and I can open the raw recorded file in Gqrx and play it without any problems.
by Sasan
Wed Mar 16, 2016 9:24 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

"-r" switch in sox is for "sample rate". Changing it does not affect the output that much (I've tested with 250ksps, 1.536msps and 2msps, although I've saved samples with 1.536msps) Here's the command I use for recording I/Q: ./rawIQ -f 88000000 -s 1536000 -n 10000000 out_16bit.r...
by Sasan
Wed Mar 16, 2016 7:54 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

i am not sure about the 16bit output if it is valid,when i play it it sounds too fast....... like played double speed.... I have the same problem. (I've changed the original source code to write 16-bit samples to file. Then converted the raw IQ file with sox, to change from unsigned-integer type to...
by Sasan
Wed Mar 16, 2016 6:41 pm
Forum: New Users' experiences
Topic: 1 weeks use.....
Replies: 2
Views: 1464

Re: 1 weeks use.....

Hey John Your questions are already answered in this forum. Check these links and whether they solve your problems: 1- Some documentation and guides can be found here: http://www.sdrplay.com/windows.html 2- Explanations of gains: http://www.sdrplay.com/community/viewtopic.php?t=356 http://www.sdrpla...
by Sasan
Wed Mar 16, 2016 6:14 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

The output of the RSP is 16 bits. To be compatible with the RTL code you need to remove the top 8 bits which is what... >> 8 is doing In the ADS-B code we have to do >> 8 + 127 so you can try with that as well. Hope that helps, Best regards, SDRplay Support I'm puzzled. If we remove the top 8 bits ...
by Sasan
Wed Mar 16, 2016 4:03 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

Dear SDRPlay Team Can you please help regarding the 8 vs 16-bit issue? What is lost when we use your sample code (which truncates I/Q samples to 8-bits)? I tried to convert 16-bit stored samples to another format (Gqrx or SDRSharp) but haven't succeeded so far. Even a simple hint would be appreciate...
by Sasan
Wed Mar 16, 2016 6:21 am
Forum: Code Corner
Topic: New user and interested in supporting SDRplay as a Panadapter
Replies: 6
Views: 3273

Re: New user and interested in supporting SDRplay as a Panadapter

Hi
Isn't it better to interface directly with SDRPlay's driver, rather than EXTIO? (using the provided Mirics API DLLs)
by Sasan
Tue Mar 15, 2016 10:29 am
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 82
Views: 30022

Re: SDRPLAY linux commandline tools?

I know this is a Linux thread, but maybe my comments help someone: I tried to compile and use this sample code on Mac OS X 10.11.3 (latest version) At first, I was getting this error like other users: Writing samples... Short read, samples lost, exiting! Library error 0, exiting... Then, I removed t...

Go to advanced search