DAQ USB Device
Error -50405 occurs when you are using a device plugged into a USB 2.0 host controller, and you unplug or insert a second device. In some cases your device stops responding and must be reset from the host, either interactively using MAX or programmatically using the driver.
To re-establish communication with a USB DAQ device, perform one of the following procedures. Not all procedures listed here work in every situation; therefore, if one option doesn't work, then try another one.
- Disconnect and reconnect your device from the system.
- Try plugging in your device into a different USB port on your computer. This can cause your computer to do another auto-detect on your hardware and re-establish communication.
- Open Measurement & Automation Explorer (MAX) and expand Devices and Interfaces to locate your device. Right-click the device in the list and select Reset Device.
- Try to programmatically reset the USB DAQ device following this community example: Community Example: Programmatically Reset USB DAQ device in LabVIEW
- Reboot the system.
To verify that your NI USB device is now working, open Measurement& Automation Explorer (MAX) and expand Devices and Interfaces. Then right-click your NI USB device and click Self Test.
Ethernet DAQ Device (918x)
- Verify that only one Ethernet adapter is active on your computer. To do this, open the command prompt and type in ipconfig. Check how many Ethernet adapters appear in the command prompt display. If multiple adapters are present, disable all but the LAN port. This may be necessary if your computer has a wifi port enabled.
- Use Windows Event Viewer to monitor events around the time of the network failure to identify a root cause