Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single pulse with analog output #6

Open
DavideFiacco opened this issue Oct 25, 2024 · 1 comment
Open

Single pulse with analog output #6

DavideFiacco opened this issue Oct 25, 2024 · 1 comment

Comments

@DavideFiacco
Copy link

Hi, I am using your package to some studies on a board behaviour. I am forced to use the analog output channel to produce single pulses, but unfortunately using the device.analog_output.setup('pulse', frequency=frequency, amplitude=Tensione_Prog, offset=Offset, start=True) I have many pulses.
There is an easy way to do that?

@mariusgreuel
Copy link
Owner

You can set a repeat_count, see https://dwfpy.readthedocs.io/en/latest/_autosummary/dwfpy.analog_output.AnalogOutputChannel.html

You may need to set the idle property, too.

Note that you need to setup the channel first before you start it, i.e. do not pass start=True to the setup method, set your other properties, and then finally call configure(start=True).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants