Additional Information
Less Common Cause:It has been observed that rarely, after an unexpected power loss, a USB-6009 device may start throwing this error even when only trying to read 1 data point (On Demand acquisition) in a test panel. The devices appear in Measurement & Automation Explorer, pass the self-test, and appear properly configured in the Windows Device Manager.
To restore proper function, the devices had to be uninstalled from the Windows Device Manager and removed from the USB bus. Upon reconnection, the devices were detected, installed as normal, and proper function was restored.
Another Possible Cause:NI has discovered that the likely cause of repeatedly seeing error -200361 is a bug in the Windows 7 EHCI driver when handling split transactions (which occur when queueing multiple IRPs on USB Full Speed devices such as the 6000/6008/6009). Since NI does not have control over the Windows USB stack, the best we can do for now is to provide a workaround. Limiting the number of outstanding transfer requests will prevent split transactions from occurring and thus will prevent error -200361 from being thrown incorrectly (there is still a possibility that -200361 is being thrown legitimately if the data transfers over USB cannot keep up with your sample rate for some other reason).
The following procedure is enabled by default in versions of DAQmx 9.6 or greater. If you are using any version later than this, you do not need to set this property. You can view the ReadMe which shows this linked below (CAR ID 331459).
To fix this issue, add a DAQmx Channel property node before starting the DAQmx task and select
Analog Input»General Properties»Advanced»Data Transfer and Memory»USB Transfer Request Count Property. This property is shown below.
If this property cannot be found, there are two solutions:
- You need to upgrade to DAQmx 9.4 (this was when this property was added) or later
- Right-click the property node and choose "Select Filter..."
- Change the Filter Settings to "Show All Attributes":
After changing these filter settings, you should now be able to select the
USB Transfer Request Count option from the channel property node.
Once you have the property node on the block diagram, right-click the property node and click
Change All To Write. Wire an unsigned 32-bit constant with the value 1 to the property node and place the property node before the start task as shown below.
- Error -200361 may get thrown if the native USB Host Controller on the computer being used is not compatible with the USB device. If this is the case, we suggest moving to a different model of computer.
- You can receive Error-200361 in case of a spontaneous CPU frequency drop due to the corrupted PC hardware or third-party software causing the CPU to overload. Try to monitor the CPU Utilization and the CPU Speed