I have bought a USB231 for voltage measurements on four batteries together with four different DC load. USB231 and all four DC loads will be controlled from python (DC load is controlled via serial commands).
My wish is to do the following:
Start sampling data on one channel with 2000 Samples/s
turn on one DC load
Ensure sampling of 1sec after DC load is turned on
Turn off DC load and stop sampling
Go to next analog channel and DC load and redo test above
I have looked at the examples given on https://github.com/mccdaq but I find them a bit confusing and complicated as they seem to be generic codes which works for all MCC units. When trying a_in_scan_background.py i do get measurements, but I cannot figure out how to start the DC load while sampling is ongoing and ensure the correct sample rate.
Do there exist any guide for the USB-231 which describes how to do what I want to accomplish?
Question
Jolle
I have bought a USB231 for voltage measurements on four batteries together with four different DC load. USB231 and all four DC loads will be controlled from python (DC load is controlled via serial commands).
My wish is to do the following:
I have looked at the examples given on https://github.com/mccdaq but I find them a bit confusing and complicated as they seem to be generic codes which works for all MCC units. When trying a_in_scan_background.py i do get measurements, but I cannot figure out how to start the DC load while sampling is ongoing and ensure the correct sample rate.
Do there exist any guide for the USB-231 which describes how to do what I want to accomplish?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now