I am using mcculw in python to read analog inputs from a USB-2416-4AO. I call a_in_scan along with initalizing my class variables in function1() and later I want to access the data array in a different function, function2() within the same class. I am not able to call ul.get_status() for the background scan in function2(), and get Error 1026: Board number already in use. Is there a work around to this so I don't have to do everything in the same function?
Question
e_reed
I am using mcculw in python to read analog inputs from a USB-2416-4AO. I call a_in_scan along with initalizing my class variables in function1() and later I want to access the data array in a different function, function2() within the same class. I am not able to call ul.get_status() for the background scan in function2(), and get Error 1026: Board number already in use. Is there a work around to this so I don't have to do everything in the same function?
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