DLL to create a spectrum analyser

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
Allan
Guest





PostPosted: Fri Aug 29, 2003 3:37 am    Post subject: DLL to create a spectrum analyser Reply with quote

Hi, i am trying to create a software utilising the spectrum analyser functions instead of a scope. But the adc200_set_timebase takes in only seconds, instead of Hz.

Is there any other functions or dlls that i can use to create a spectrum analyser. Please advise. Thanks

Regards
Allan
Back to top
markspencer
Site Admin
Site Admin


Joined: 07 May 2003
Posts: 610

PostPosted: Wed Sep 03, 2003 9:11 am    Post subject: Reply with quote

Hi,

To generate spectrum analyser functionality you will need to write your own algorithm to calculate the FFT, as the functions provided will only return raw data readings. However, this is possible with the functions provided in the .dll.

I would suggest getting a good book on the FFT, one such book is:

'Understanding the FFT' by Anders E. Zonst

Alternatively, perhaps someone else on the forum can help you.

Best regards,
Back to top
guest
Guest





PostPosted: Fri Oct 17, 2003 10:11 am    Post subject: Reply with quote

If I understand correctly the gentleman wants to convert seconds and Frequency


I believe you will find

F (Hz) = 1 / T (time period of signal)

e.g.

F (Hz) = 1 / 0.1 seconds

F = 10 Hz

reverse the formula to convert in the other direction.


FFT
----
Check out a search on the web for 'Numerical Recipies In C' in that you will find a C algorithim which you can use to calculate an FFT.

The bigger problem you have is in understanding the limitations that occur as a result of sampling and transforming the data....... Good - luck !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group