Jump to content
  • 0

Max Samples using Logic Analyzer with Python


ToddW

Question

I am writing python code and trying to get the max number of samples from the logic analyzer with a Discovery2.  I set the value to 16384, but I only get 4096 valid samples followed by all 0's.  I set the number of samples with dwf.FDwfDigitalInBufferSizeSet(self.device_handle, c_int(buffer_size)) I also use the record function from github.  How do I get all 16384 samples with valid data?

Edited by ToddW
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @ToddW,

You will want to change the configuration from the default option (which only has buffer for 4096 samples) a different configuration that does allocate the 16 Ki buffer with dwf.FDwfDeviceConfigOpen

There is a little more information about this on this thread here:

Let me know if you have any questions.

Thanks,
JColvin

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