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

Remove clock_generator_initiate() from nidigital API #1370

Closed
sbethur opened this issue Apr 3, 2020 · 0 comments · Fixed by #1373
Closed

Remove clock_generator_initiate() from nidigital API #1370

sbethur opened this issue Apr 3, 2020 · 0 comments · Fixed by #1373

Comments

@sbethur
Copy link
Contributor

sbethur commented Apr 3, 2020

Description of issue

Clock generator can be started using clock_generator_generate_clock() and clock_generator_initiate(). Both are pretty similar; clock_generator_initiate does not accept the frequency parameter, it should be set earlier via clock_generator_frequency property.

In the spirit of The Zen of Python:

Explicit is better than implicit.
There should be one-- and preferably only one --obvious way to do it.

we should remove clock_generator_initiate().

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

Successfully merging a pull request may close this issue.

1 participant