06-27-2012 06:34 PM
Hello VeeJay,
This error just happens with certain USB host controllers. The alternatives are given in the KnowledgeBase: How Do I Force Windows to Remove and Redetect a USB Device?. If you’re not getting this problem, keep working normally. If you’re getting a similar problem, can you please describe it more? This has been fixed for some cases, others aren’t.
Thank you,
06-28-2012 09:52 AM
Where in a program is the best place to use DAQmx reset device function? Before opening channel resources or after closing resource? Can Reset fucntion be used while a program is running, a.k.a while ""while loop"" is not yet terminated?
06-29-2012 05:56 PM
Hello VeeJay,
The Reset Device function is usually used at the beginning or end of a program. If the Reset Device is used in the middle of a program it will immediately abort all active tasks associated with a device, disconnect any routes, and return the device to an initialized state. Aborting a task immediately terminates the currently active operation, such as a read or a write. Aborting a task puts the task into an unstable but recoverable state. To recover the task in DAQmx, use DAQmx Start to restart the task or use DAQmx Stop to reset the task without starting it.
Regards,
Jeff L.