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

handle types and daqmx versions #102

Closed
creilly opened this issue Jun 16, 2020 · 0 comments · Fixed by #148
Closed

handle types and daqmx versions #102

creilly opened this issue Jun 16, 2020 · 0 comments · Fixed by #148

Comments

@creilly
Copy link

creilly commented Jun 16, 2020

if version.major_version <= 8 and version.minor_version <= 8:

Won't this line return the wrong handle type for, say, version 7.9?

I believe you want:
c_uint if (majorversion < 8 or (majorversion == 8 and minorversion <= 8)) else c_void_p

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

Successfully merging a pull request may close this issue.

1 participant