Jump to content
  • 0

acquisition duration vs trigger frequency


Loic VINET

Question

I am using a python program in a raspberry connected to a digital Discovery.

I have a trigger every 1 second with a duration of 100 ms.

I want to make an acquisition of 20 ms or less.

The problem, I have, is that when running the function dwf.FDwfDigitalInStatus(hdwf, c_int(1), byref(sts)) give STS = 1, it stays in status armed and there is no acquisition.

When the acquisition has a duration of 1 s and more, it works.

What should I do to be able to have an acquisition of less than 1s acquisition duration?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi @attila

I place the dwf.FDwfDigitalOutConfigure(hdwf, c_int(1)) in the acquire function just after dwf.FDwfDigitalInConfigure(hdwf, c_int(0), c_int(1))

    dwf.FDwfDigitalInConfigure(hdwf, c_int(0), c_int(1))
    dwf.FDwfDigitalOutConfigure(hdwf, c_int(1))

But it makes no change.

if I replace acqmodeRecord by acqmodeSingle, it doesn't work in both cases.

The goal is to record signals with a trigger given by the PPS (pulse per second) of the GPS. This PPS is a square signal of 100 ms each second.

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