• 0
jtw

AD2 using the spectrum analyzer from the python SDK

Question

Using the python examples provided with the Analog discovery 2 SDK, I can grab data from the oscilloscope, but I don't see in the documentation how to get the AD2 to compute a frequency spectrum that I can then grab using the SDK. Does anyone know how to do this?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi @jtw,

Based on this thread, I do not think there is an API set for the Spectrum Analyzer, though I do not know for certain if that situation has changed since early 2018. I have tagged the engineer much more familiar with WaveForms who will be able to more accurately address this.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

Hi @jtw

The API functions return raw capture data. The processing like FFT should be done in custom application.

About a year ago, functions for network/impedance analyzer were added. In case this is what you need see the examples in SDK/ samples/ py/ AnalogNetwork_Analyzer.py, AnalogImpedance_Analyzer.py, AnalogImpedance_Input.py ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now