Jump to content
  • 0

Waveforms app like configuration using SDK


josu.jugo

Question

Hi all:

I have been using the WaveForms App for a signal acquisition application, defining a positive edge based trigger. The obtained signal FFT is quite stable.On the other hand, I am trying to repeat the same acquisition using the SDK, but the result is not so stable. I am wondering how to repeat the same configuration using the App and the SDK. Is any example available?

By the way, I am using an Analog Discovery Studio.

Thank you in advance

josu

 

Edited by josu.jugo
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @josu.jugo

Beside the trigger level the selected filter, hysteresis and channel range (resolution) could influence the sensitivity.

FDwfAnalogInTriggerFilterSet(hdwf, filterAverage) default is decimate which looks for trigger at 100MHz sample rate, average only at specified frequency
FDwfAnalogInTriggerHysteresisSet(hdwf, 0.1)  level +/-hyst
FDwfAnalogInChannelRangeSet(hdwf, idx, 5.0) select 5Vpk2pk range (<=5.0) or 50V (>5.0)

You could also use pulse, slope trigger and holdoff options.

Link to comment
Share on other sites

  • 0

Finally, I have found the problem. I am able to repeat the results of the App using python. Just a configuration error. When I want to select a second analog waveform using FDwfAnalogOutNodeEnableSet, I had selected an incorrect parameter: the carrier, not the AWG node.

Thanks for the help

Link to comment
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
×
×
  • Create New...