New API

Add useful snippets of code or links to entire SDR projects.
va2fsq
Posts: 7
Joined: Tue Mar 15, 2016 11:55 pm

New API

Postby va2fsq » Sun Jul 17, 2016 6:03 pm

Hi,
I thought that the new API would support sampling rates lower than 2,000,000 samples per second.
It works at 600,000 but no lower. Is it not possible for you to do this without requiring using the downconvert function?
Thanks
Last edited by va2fsq on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 582
Joined: Wed Jan 07, 2015 7:58 am

Re: New API

Postby sdrplay » Mon Jul 18, 2016 1:46 pm

Hi,

Yes, in Zero IF mode you can go as low as the IF Bandwidth you have selected by using the mir_sdr_DecimateControl function.

So for example if you specify 200kHz IF bandwidth, then specify 2MHz sample rate. After your mir_sdr_StreamInit call, use...

mir_sdr_DecimateControl(1, 4, 0);

1 = enable, 4 = decimation factor - this will produce a final sample rate in this case of 250kHz

If Low IF mode, there are only 4 cases that are supported and they are listed in the API specification.

Hope that helps,

Best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason


Return to “Code Corner”

Who is online

Users browsing this forum: No registered users and 1 guest