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

Mix-up of channels and values in dataq_binary.py driver #14

Open
Ejler opened this issue Jan 10, 2018 · 0 comments
Open

Mix-up of channels and values in dataq_binary.py driver #14

Ejler opened this issue Jan 10, 2018 · 0 comments

Comments

@Ejler
Copy link
Member

Ejler commented Jan 10, 2018

dataq_reader.txt

Example code attached.

So for 3.2V connected to channel 1 and 1.6V connected to channel 0 (battery pack), the example code worked fine on rasppi83 for scan_list = [0, 1] and scan_list = [1, 2].
But for scan_list = [1, 0, 2], the values corresponding to each channel "cycle" between the read channel values. I.e. channel 1 would first read 1.6V, 1.6V, 3.2V, 0V, 0V, 1.6V 1.6V, 0V, 0V, 0V, 3.2V, 3.2V, ...

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

1 participant