Jump to content
  • 0

SDK FDwfDigitalOutInternalClockInfo returning frequency of 0.0


joe.a

Question

Hey all,

I'm working with the waveforms SDK in python and attempting to use the digital out functionality for generating a logic pulse. 

Unfortunately, I'm running into issues when calculating the divider setting. I've followed this back, and it appears to originate from FDwfDigitalOutInternalClockInfo returning a frequency of 0.0.

I'm working with an Analog Discovery 2, and I know from previous messing around that 100000000.0 is typically returned. I'm assuming that I'm setting this up incorrectly in some way. Is there a known situation/setup where the AD2 will return 0.0 ?

Additionally, FDwfDigitalOutCounterInfo is also returning a counter of 0. I assume this is related to the internal clock frequency as well.

Any help is greatly appreciated :) 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @joe.a

The FDwfDigitalOutInternalClockInfo for AD2 should return 100e6. This device has no frequency adjustment feature, so this is fixed/hardcoded.
The FDwfDigitalOutCounterInfo returns 0 because it is not supported by AD2, only by newer devices like AD3, ADP3X50, ADP2230, Digital Discovery

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...