Windows eventually stops recognizing a Tek TDS2002B via USB

I wrote the software for a machine using a TEK TDS2002B via USB over 5 years ago and don't remember having a problem, but the machine is getting put back into production and they are having a problem with Windows eventually not recognizing the scope.  As far as I remember, I only installed NI-VISA (4.4.1) with LabVIEW 8.6.  My code, using the Tek dirivers I downloaded from NI, acquires the scope waveform via "Fetch Waveform.vi" code (once a connection has been established.  A reboot of the computer fixes the problem (dunno for how long), but I want to stop the need for the reboot.
Any ideas?
Thanks,
Todd

Probably the window power management setting shutting down the USB HUBs
USB Plug-n-Play Devices (Windows)
Options
‎01-22-2012 02:20 PM
In this topic we will discuss some of the common problems that have been observed using USB devices with LabVIEW on Windows operating systems.  Many of these points are also applicable to other environments but the examples will be use the Windows 7 OS.
FAQ 1 : My USB device stops working unexpectedly.
The first thing to look at is the OS power saving options.  There is a global trend towards developing "Green" electronics and energy star ratings are getting fairly common.  "If its not being used shut it off" is nothing new.  Cavemen learned how to bank a fire to preserve energy that would otherwise be wasted.  Likewise, the Windows OS has a power saving feature to shut down power to the USB hubs when no user activity is present.  In Automated systems this feature can cause problems since removing USB hub power will shut down the USB device.   Solution: Use the device manager to change the USB hub Power Options.
FAQ2: I set the power options and my device connection is still unreliable: Remember, those computer USB ports are often the cheapest that can be mounted on the chassis and share the PC system power supply to supply USB Power. Most uses of USB are temporary connections like a thumb drive or a camera.  These connections do not require high reliability since the user is right there interacting with it.  Power surges and fault tolerance at worst cause the operator to retry the data transfer.  Automated systems require a bit more robustness.  Solutions:
1) ALWAYS use an external self powered hub.  Perform your engineering due diligence and inspect the devices specifications too- If you can't find them for that device that should clue you to seek an product from a vendor that WILL publish their specs.
2) High noise environments require the use of ferrites on the USB cable- and don't buy the cheapest cable either! The cheap ones are poorly shielded.  
3) PROTECT the HUB connections-  If you have a USB2.0 device and Joe User plugs in a 1.0 device in a open slot managed by the same hub- Bingo every port on the hub may back convert to USB1.0.  WORSE there are a lot of damaged or marginally engineered USB devices out there.  Joe User's device may cause power fluctuations when it is inserted or removed from the hub just don't let it happen!
FAQ3: I am testing USB devices and the OS can't find them anymore.
This is a Plug-n-Play feature that deserves some exposure.  When you connect a P-n-P device the OS remembers its serial number in a HKEY (Hive-Key) registry entry.  This is helpful when (for example) you want a specific instrument, Say an NI-USB-6008, to show up as a DAQmx Device with VISA Alias "MyDAQ1" every time it is plugged it.  On the other hand, If you want to test a line of USB-Serial converters this can be problematic since the P-n-P driver will mount the first serial number as "COM3" and the next as "COM4" add infinitum until the enumerator controller in the registry and VISA recognized aliases get used up.  Solution: Use the Windows registry API and the Hardware Configuration API in LabVIEW to clear unused VISA Aliases and HKEY entries.   Speak with your staff IT professional about HKEY structure and possible side effects before developing a plan to edit registry entries.
Jeff

Similar Messages

  • My iPod Classic is not detected by my Windows 8 computer when I connect it via USB port.  How can I get windows to detect this device?

    My iPod Classic is not detected by my Windows 8 computer when I connect it via USB port.  How can I get windows to detect this device?  A message from windows says: the device has malfunctioned.

    Try TS1363: iPod: Appears in Windows but not in iTunes.
    See also Corrupt iPod classic.
    tt2

  • Non riesco a stampare, nella partizione Windows dell'IMAC, con la stampante collegata via USB alla Time Capsule. Ho installato Bonjour, vedo la stampante ma non riesco a stampare. Soluzioni?

    Non riesco a stampare, nella partizione Windows dell'IMAC, con la stampante collegata via USB alla Time Capsule. Ho installato Bonjour, vedo la stampante ma non riesco a stampare. Soluzioni?

    Hi @Dige85 ,
    Thank you for visiting our English HP Support Forum. We are only able to reply to posts written in English. To insure a quick response it would be advisable to post your question in English. The following links are here to assist you if you prefer to post in the following Language Forum.
    English: http://h30434.www3.hp.com
    Spanish: http://h30467.www3.hp.com
    French: http://h30478.www3.hp.com
    Portuguese: http://h30487.www3.hp.com
    German: http://h30492.www3.hp.com
    Korean: http://h30491.www3.hp.com/t5/community/communitypage
    Simplified Chinese: http://h30471.www3.hp.com/t5/community/communitypage
    Thank you for your understanding
    I work for HP. However I speak only for myself, not for HP nor anyone else

  • Shuffle causes Windows to stop recognizing all other USB ports!?!

    When I plug my new Shuffle in to any USB Port, Windows stops recognizing all other USB drives. (this includes my internet connection and external hard drive with all music) If I disconnect the Shuffle and repower the other devices, they work normally again. I've seen this same problem on this forum and the answer did not help - here is the answer/link given the previous posting: http://docs.info.apple.com/article.html?artnum=93499
    The shuffle has its own drive letter on my computer, so no conflict here AND my husband's shuffle works just fine on this same usb port and same cradle. As soon as I eject the working shuffle and place the new one in the cradle, my computer shuts down and no other USB Ports work until I unplug the shuffle and repower the others. Maybe a shuffle problem?
    Thanks for your help!

    The shuffle has its own drive letter on my computer,
    so no conflict here AND my husband's shuffle works
    just fine on this same usb port and same cradle. As
    soon as I eject the working shuffle and place the new
    one in the cradle, my computer shuts down and no
    other USB Ports work until I unplug the shuffle and
    repower the others. Maybe a shuffle problem?
    Thanks for your help!
    Are you "eject"ing your husband's shuffle in iTunes OR are you "safely removing hardware" in Windows?

  • Windows XP stops recognizing the iPod Nano

    hi
    I bought my Nano in Dec 2006. Assuming it is 2nd generation. Not sure how to verify. Until now I was able to copy files from Real Player to my Nano.
    Now the Nano battery charges when I connect the USB cable to the Windows XP Pro system but Real and iTunes is not able to "see" my Nano I have an unhappy child at my place
    What should I do? If I have to reinstall, what should I reinstall and how can I reinstall anything when the PC doesn't see the Nano device at all?
    I tried connecting the Nano to my friend's system with his working cable, still his PC also doesn't "see" my Nano.
    The Nano operates normally (i.e. we can listen to the songs)
    Any pointers is appreciated.
    Mahesh

    *I bought my Nano in Dec 2006. Assuming it is 2nd generation.*
    This will tell you about the different models: Identifying different iPod models
    *Now the Nano battery charges when I connect the USB cable to the Windows XP Pro system but Real and iTunes is not able to "see" my Nano*
    Have you had a chance to look at these troubleshooting pages? They may be of some help:
    iPod shows up in Windows but not in iTunes
    iPod missing in My Computer and in iTunes
    iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date
    If you are using a laptop, this page might help: iPod not recognized when connected to Windows laptop over USB

  • My first generation iPad no longer recognized in iTunes, neither via usb nor wi-fi. Did all the steps  recommended in Apple iPad support. Now what?

    My first generation iPad is no longer recognized in iTunes. It just doesn't show up neither via USB nor via wi-fi.
    I've checked the usb connection and cable and its OK.
    I checked that iTunes is up to date on my Mac.
    I reinstalled iTunes on my Mac. 
    I restarted my Mac,
    I've restarted my iPad.
    The iPad has IOS 4.3.1 (8G4) installed. And without the iPad being recognized in iTunes  I can not update the IOS nor apps, nor remove unneeded photos. The iPad is completely filled up, no memory left to allow even updates via cellular or via wi-fi.
    Trying to gain access to update the IOS and to update APPS and to remove the pics I already have backed up and do not need on this iPad locally.
    PS: I even tried to connect the iPad to a different Mac and it was not seen in that iTunes either.
    So, what can I do now?
    Any suggestions besides using it as a paper weight?
    Thanks

    Hello there, Blueye3355.
    The following iPad Troubleshooting Assistant has some good steps to run through, to make sure you've covered all your bases:
    Apple - Support - iPad - iTunes Assistant
    http://www.apple.com/support/ipad/assistant/itunes/
    If following all the steps listed there are additional options on the last step you might want to try or review the "if the issue persists" steps mentioned in the second part of:
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Is it possible to share Windows XP internet connection to iPhone 4 via USB tethering?

    My computer (Windows XP) connects to the internet, and I want to share that connection to my iPhone 4 (iOS 5.0.1). Is it possible to do that via USB tethering? I know that it's possible for iPhone 4 to share its internet connection to others via Personal Hotspot, so can the opposite be done?

    You wouldn't be able to do that via USB, however if your computer had the ability to transmit wireless from the computer, you would be able to connect the iPhone to it via wifi. Computers have the ability to do that with the correct equipment.

  • Windows XP stopped recognizing ipod

    After initially being able to sync about 2000 songs on my ipod 3.1.1, now I get nothing when plugging it in to any USB hub. It works fine on my wife's mac. What the **** is going on?
    I've tried reinstalling itunes. I've tried uninstalling and reinstalling my USB drivers. I've tried disabling enhanced USB controllers. I've tried unplugging it for 20 min. I'll keep trying to not throw it out the window.
    Sometimes it says Unknown Device. Sometimes it says nothing, and lists it as a composite device in hardware mananger. Itunes Diagnostics cannot find a connected ipod. it fails sync tests. It does charge, but i don't use it for that in case it explodes.
    Please help.

    It worked randomly. What the **? After uninstalling all USB drivers, then had device mananger scan for hardware changes, I pluged in the ipod and it came up unknown. Then I unplugged it, plugged it in to another USB port, and it worked... This **** is so random it boggles my mind.

  • My ipod and also ipad will not sync or be recognised by itune on my windows xp computer when connecting the chord via usb

    My ipod touch and also ipad is not coming up or showing when connecting to my computer and hence cannot sync it. The last available sync was about a week ago. Any ideas on what is not happening?

    See:
    iOS: Device not recognized in iTunes for Windows

  • My Windows PC doesn't detect my phone via USB

    Hi.  
    When I plug in my USB cord, I expect my PC to detect my phone.  Device Manager reports my phone as an "MTP USB Device."  Any advice on how I can get my PC to recognize my phone as a phone so I can access my information?  Thanks.

    Hi.  
    When I plug in my USB cord, I expect my PC to detect my phone.  Device Manager reports my phone as an "MTP USB Device."  Any advice on how I can get my PC to recognize my phone as a phone so I can access my information?  Thanks.
    Try removing that driver and reconnecting the phone.

  • Why aren't my ipad and iPhone 4 recognized via usb?

    Macbook has stopped recognizing ipad and iphone via USB. Cable works on other devices. USB ports recognize external drives, with and without hub.

    Have you tried the tips in this article? 
    iOS: Device not recognized in iTunes for MAC OS X, http://support.apple.com/kb/TS1591

  • Why has Windows stopped recognizing iPhone 5

    Windows has stopped recognizing iPhone. Would previously sync.

    Hi DPotashnick,
    Thanks for visiting Apple Support Communities.
    I recommend the troubleshooting steps in this article if your iPhone is not recognized by iTunes for Windows:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Best Regards,
    Jeremy

  • Installing iTunes made windows stop recognizing my iPod

    *Short version:* the USB driver included in Apple Mobile Device Support with the latest version of iTunes did not work. Deleting them made my iPod work.
    *Long Version:*
    I had an iPod Mini (4gb, past warranty) that recently had a harddisk failure, so I bought a new Nano. I uninstalled itunes, removed all related files and folders, downloaded itunes 7.5 and installed it, and plugged in the Nano. Error message: "Your hardware failed to install properly." ITunes did not see the ipod.
    I spent a couple hours going through the apple.com troubleshooting suggestions, which did not work. Device Manager had the yellow exclamation point icon by "Apple iPod USB Driver" no matter what I did. Eventually, I decided to purge my computer of all Apple products, delete all copies of usbaapl.sys (the nonfunctioning driver) from my computer, and plug in the Nano without installing itunes. It worked! So I installed itunes, rebooted, plugged the Nano back in, and... it didn't work.
    So, installing itunes made windows stop recognizing my ipod. At this point I decided that itunes might be using a bad copy of the driver, so I deleted all copies of usbaapl.sys from my computer and tried again. It asked for the install disk for "Apple mobile device" something, so I used Add/Remove Programs to uninstall Apple Mobile Device Support. After that, it's working.
    So, I spent three hours troubleshooting because the drivers packaged with the latest version of itunes don't work. Spiffy.
    Message was edited by: Tempo502

    Had the same problem and I uninstalled all apple products (itunes Apple mobile support, etc.), deleted all usbaapl.sys files, and reinstalled latest version of itunes + quicktime. I had the same problem. I then unplugged my IPOD from the USB connection, put it in disk mode, and then plugged the IPOD back into the USB connection and EVERYTHING WORKED!!
    The following article describes how to put an IPOD into disk mode:
    http://docs.info.apple.com/article.html?artnum=93651
    Good luck,
    Tom

  • Iphone 4S - Windows Vista - 64 Bit (and photoshop elements 9.0) is not recognizing my iphone as a camera - therefore I cannot download pictures from my iphone. iTunes works fine with the iPhone, but I do not see it in "My Computer" when connected via USB

    iphone 4S - Windows Vista - 64 Bit (and photoshop elements 9.0) is not recognizing my iphone as a camera - therefore I cannot download pictures from my iphone. iTunes works fine with the iPhone, but I do not see it in "My Computer" when connected via USB.  I already tried uninstalling and reinstalling iTunes....still nothing.  Any ideas?

    Thank u verrrrrrrrrrry much FoxFifth u save my life thank u.

  • HT1339 ipod not recognized by my computer, it says "Windows has stopped this device because it has reported problems. (Code 43)" please help

    please help...
    my computer is not recognizing my ipod classic gen 5. it shows the sad face then i did the basic troubleshooting until logo comes out...
    still my computer is not recognizing my ipod.. it still says "Windows has stopped this device because it has reported problems. (Code 43)"

    See here: iPod displays a sad iPod icon
    Note that it's often a good sign of a hardware issue with the iPod's hard drive meaning the iPod will need to be serviced or replaced.
    B-rock

Maybe you are looking for

  • Getting an error in ECC 6.0 when open table MARA

    Hello  Experts, In ECC 6.0 while opening  table MARA, I am getting an error "Inconsitency inthe Dictionary for the structure "Mara"."and  so on for other tcodes. This error I am getting since yesterday, previously I was not getting such error. Can an

  • How to open PDFs in Safari 8.0

    Been frustrated for a couple days now. Up until mid last week, I've been able to open PDFs inside the safari browser no problem.  I think this ended up changing in the latest Yosemite update.  Opening PDFs inside the safari window, not in a different

  • Create contact returns -- CAPI_STAT_LIBRARY_INTERNAL_COSMICRAY

    I am not able to figure out this cause of this message. The code i am using to create a contact is: private void createCalendarContact() {           RequestResult results = new RequestResult();           String s = "";           s += "Content-Type: t

  • How to make a duplicate record in oracle fomr

    Hi, I have a custom master-detail form in ebs. User wants to query a record and store a duplicate record in the database with modification of some column values. I am using custom tables in data blocks. Please guide me how can I do it. Regards Farooq

  • How do I view text online?

    Please help.... When I look at all phone lines text messages online through my account. I can see the numbers that are texting but I need to see the content on what is being said. I notice to the bottom left hand side of this it says Download Details