USB Device Disconnects and Reconnects Periodically on Windows PC

Updated Oct 25, 2018

Reported In

Hardware

  • USB-6001
  • USB-6002
  • USB-6003
  • USB-6008
  • USB-6009
  • USB-6259

Driver

  • NI-DAQmx

Operating System

  • Windows

Issue Details

  • My USB-6001, USB-6002, USB-6003, USB-6008 or USB-6009 or other NI DAQ device is continuously disconnecting and reconnecting to my Windows PC. How do I stop this from happening?
  • My DAQ device does not show as connected in NI MAX (Measurement and Automation Explorer) after my computer wakes up from being suspended or sleeping.
  • LabVIEW does not show my USB device ports after my computer goes to sleep.

Solution

This may occurs due to a Windows setting called USB selective suspend. By default this setting is enabled. When enabled, it cuts power to idle USB devices in order to conserve power. 

This setting can be disabled through Performance Settings as follows:
  1. Go to Power Options via: All Control Panel Items » Power Options » Edit Plan Settings 
  2. Select Change advanced power settings
  3.  Expand the USB Settings tab and enable USB selective suspend settings 
Alternatively, this can be the result of an incorrectly grounded device that can result in the device going out of specification, causing your computer to lose connection to the device. To solve this issue ground all inputs to the device as described in the Field Wiring and Noise Considerations for Analog Signals.
 

Additional Information

  • Always try rebooting your computer before having to reinstall the DAQmx drivers.
  • USB 3.0 ports seem to be unaffected by this setting, so using a USB 3.0 port may be a viable solution as well.
  • This feature was added in Windows XP and is present in later version of the operating system (Windows Vista, 7, 10, etc.). You can find more information about this feature from Microsoft Hardware Help.

WAS THIS ARTICLE HELPFUL?

Not Helpful