05-04-2009 03:45 PM
I am currently using three NI-9172 cDAQs on the USB bus. The majority of the modules are 9219 RTD modules. The first two chassis are analog in processes. The third is digital I/O. The response rate of the keyboard is really slow. I can only assume that the USB bus is bogged down. Is this typical of this many RTD modules and chassis? And is there any possibility of increasing USB communication speed?
Thanks...
05-04-2009 04:12 PM
The NI 9219 has a max rate of 100Hz in High Speed mode. If you're running your AI task faster than that and have no other modules in the task, you are wasting bandwidth returning repeated samples.
It is possible to max out your USB bandwidth with a single digital module in a cDAQ-9172 chassis but even doing that your computer should still be responsive. The most likely culprit is wasteful code. Without seeing your code I can't say for sure but common mistakes include having a read in a loop with no delay, constanty stopping and restarting tasks (state transitions should be outside of loops), and excessive in line data analysis.