Hello so I have been using the mcculw library examples to record the counter frequency inputs using USB-CTR04 as well as the analog input using the 231 (every second) together within a GUI I integrated using python's tinker. In conjunction with these two I am trying to use the GPIO pins on the USB-231 to control valves that are going to be switching from high to low after x amount of time has passed but unfortunately when my program is recording data it is constantly switching back and forth between the USB-231 and USB-CTR04 seen on the terminal output I have attached below. Now would I be able to output an analog signal after x amount of time has passed while I am recording the analog inputs every second this way or is there a better method I should look into or approach. Any help is much appreciated and I am willing to provide any other information that is needed if this post is not clear enough. Thank you for your time!
Question
YoelGee
Hello so I have been using the mcculw library examples to record the counter frequency inputs using USB-CTR04 as well as the analog input using the 231 (every second) together within a GUI I integrated using python's tinker. In conjunction with these two I am trying to use the GPIO pins on the USB-231 to control valves that are going to be switching from high to low after x amount of time has passed but unfortunately when my program is recording data it is constantly switching back and forth between the USB-231 and USB-CTR04 seen on the terminal output I have attached below. Now would I be able to output an analog signal after x amount of time has passed while I am recording the analog inputs every second this way or is there a better method I should look into or approach. Any help is much appreciated and I am willing to provide any other information that is needed if this post is not clear enough. Thank you for your time!
Link to comment
Share on other sites
1 answer 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