SDR API evaluation tool

Add useful snippets of code or links to entire SDR projects.
sdrplay
Posts: 541
Joined: Wed Jan 07, 2015 7:58 am

SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 11:33 am

Hi everybody.\n\nI tried this tool but nothing seems to happen. The "Spectrum Display" does not show.\nMy pc is a win7 64 bit, on the same machine I run sdrplay+sdr# with no problem.\nCan anyone write 10 lines "guide" to start-up with this tool? TNX

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 11:56 am

TNX

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:03 pm

I got issues with the decimal format in the API Evaluation Tool. \n\nI got the following message, in a popup, when the entries in the tool don''t match the setup in your regional setting.\n==============================================\nA non managed exception occur in your application.\nIf you clic continue, the application wll ignore this error and try to continue.\nIf you clic Quit, the application will stop immediately.\n\nThe input chain format is incorrect.\n==============================================\nMy regional setting in the control panel was set to "comma" for decimal seperator and was using "dot" in the API tool.\nI put "dot" in the regional setting ( it''s the normal format here in america ) then everything worked fine after that.\n\nHope it helped some of you. :)

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:11 pm

Got it!!! I must enter 222comma064 and 2comma048!!! now i got return code = 0\nIt''s a little tricky...\n

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:14 pm

CaptainNemo you must be based in Italy...

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:15 pm

Sure.

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:37 pm

I''m following your clear guide and also I''m trying with values in "Mirics SDR API Specification.pdf" page 10\n"... err = mir_sdr_Init(newGr, 2.048, 222.064, mir_sdr_BW_1_536, mir_sdr_IF_Zero, &sps); ..."\nwhere newGR=40 etc. etc. etc. \nso I input in the tool\n---> Frequency (MHz) 222.064\n---> Gain Reduction (dB) 40\n---> IF Bandwidth 1.536 MHz (drop down list value)\n---> IF mode ZIF (drop down list value)\n---> ADC Sample Freq (MHz) 2.048\nthen clic [Initialise]\nand I got Return code = 3 (out of range) ???\nAPI CMD display = mir_sdr_Init(40,2048,222064,3,0,&samplesPerPacket);\n(API EVALUATION TOOL ... in the right down corner i see V0.0.1)\nWHere am I wrong?

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

Re: SDR API evaluation tool

Postby sdrplay » Wed Jan 07, 2015 12:40 pm

The API evaluation tool allows you to fire individual commands from the API to the device. The idea here is to show not only how the correct commands should look but also what they do. A typical sequence might be.\n\n1. Initialise the device. Set the desired frequency, gain reduction, IF bandwidth, IF mode and ADC sample frequency then hit the initialise button. The command is sent to the SDRplay module and is echoed to the API Command Display at the bottom.\n\n2. Once the device has been initialised you can then click the spectrum display to see the data being returned from the device. You won’t be able to see the display until the initialise button has been clicked.\n\n3. You are then free to fire any other commands at the tuner and watch the response. For example you might want to change the gain reduction. You can put the desired gain reduction in the gain reduction box say 20dB and then hit the Set GR button. You will see the command applied to the SDRplay module and again echoed in the Command Display window at the bottom.\n\nAs I said the idea here is to allow anyone who may wish to program the device to see how the correct commands should look and also to see their individual behaviour.\n

ronkpa
Posts: 5
Joined: Tue Apr 11, 2017 2:01 am

Re: SDR API evaluation tool

Postby ronkpa » Wed Apr 26, 2017 7:59 pm

Is there still an SDR API Evaluation tool available? I didn't see it listed on the downloads page, and nothing turned up on an internet search. If so, does anyone know where could I get a copy?
Thanks.
Last edited by ronkpa on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

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

Re: SDR API evaluation tool

Postby sdrplay » Sat May 13, 2017 11:59 am

The evaluation tool isn't supplied any more. It's out of date with the latest API.

If you are having problems you can contact support @ http://www.sdrplay.com/support

Best regards,

SDRplay Support

Reason: No reason


Return to “Code Corner”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests