how use spectrum analyzer mode in PS2408B using dll file in python

Post general discussions on using our drivers to write your own software here
Post Reply
Krishna
Newbie
Posts: 0
Joined: Wed Jul 12, 2023 7:10 am

how use spectrum analyzer mode in PS2408B using dll file in python

Post by Krishna »

Hi all,

I am using ps2408b, trying to use FFT mode(spectrum analyzer mode) by using a DLL file in Python.
is there any way that I can use fft mode in Python? I saw only 2 options in the API functions AWG and function generator. Kindly let me know if there is any to automate it.

Thanks and regards
Krishna

Martyn
Site Admin
Site Admin
Posts: 4501
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: how use spectrum analyzer mode in PS2408B using dll file in python

Post by Martyn »

The scope can only collect time domain data so if you wish to implement a spectrum mode in your application you will need to process this time domain data using a third party Python FFT library.
Martyn
Technical Support Manager

Krishna
Newbie
Posts: 0
Joined: Wed Jul 12, 2023 7:10 am

Re: how use spectrum analyzer mode in PS2408B using dll file in python

Post by Krishna »

Hi Martyn,

Can know how to find or Function name to be used for knowing the time domain data

Regards
Krishna

Martyn
Site Admin
Site Admin
Posts: 4501
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: how use spectrum analyzer mode in PS2408B using dll file in python

Post by Martyn »

I would begin with our example code https://github.com/picotech/picosdk-python-wrappers for your scope you need the ps2000aexamples.

The readme explains what you need to do to set things up.
Martyn
Technical Support Manager

Post Reply