I'm working on a Windows/VS application using MCC USB-2404-UI - this takes a single reading per channel (up to 3) at a rate of up to 10 Hz (every 100 ms). I'm using a AIn32() call for each read, and it does not seem to be keeping up with the desired rate - IOW, it seems to be taking >100ms per call. Is this normal/typical? I'm surprised at this, so want to make sure I'm not missing something. I'm considering moving to the scan function instead, but want to make sure I really need to do this before heading down that road (as it's quite a big change to how the application collects data and updates the UI).
Question
Ben Gale
Hi,
I'm working on a Windows/VS application using MCC USB-2404-UI - this takes a single reading per channel (up to 3) at a rate of up to 10 Hz (every 100 ms). I'm using a AIn32() call for each read, and it does not seem to be keeping up with the desired rate - IOW, it seems to be taking >100ms per call. Is this normal/typical? I'm surprised at this, so want to make sure I'm not missing something. I'm considering moving to the scan function instead, but want to make sure I really need to do this before heading down that road (as it's quite a big change to how the application collects data and updates the UI).
Thanks,
Ben
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