HyperTerminal sees a COM port but VISA does not

It should not be possible that HyperTerminal sees a COM port but VISA does not. Does anyone know why or have any ideas?
Here's some more info: I wrote a LabView (LV) program and deployed it (via the Application Builder) to some of our production department's PCs (some Windows XP and some Windows 7). We use it to set up products we design and manufacture through our device's USB serial port. The USB port is actually a virtual COM port (VCP) - a USB to Serial converter or "bridge". We have a custom driver for our device and since each device's USB bridge chip is programmed with a different serial number, every time we connect a new device to the PC the installer runs and assigns a new COM port number. This is so our customers can use multiple devices on a PC. Fine. On one of our production PC's we were close to  COM900 ports (HyperTerminal sees only up to COM256) when suddenly Win7 would not allow any more. We were able to uninstall orphaned (non-present) COM ports from DeviceManager ("DM") by starting it from a command console (DOS window) with a special command-line switch, "set devmgr_show_nonpresent_devices=1" then "start devmgmt.msc" (I have this in a batch file). In DM View menu you can "Show hidden devices" and uninstall them as if they were connected. I've also tried uninstalling them the normal way when the device was actually connected. Either way, sometimes, not always, depending on the COM port number, after reusing that port number by installing a new device which picks up that old, freed-up number, LV VISA doesn't see it. In other words, when "Refresh" is clicked in the COM port VISA list box, any new devices installed should be and normally are seen. (Refresh is not needed if the application is started after the device's driver is installed. It is only need if the LV application is open with the new device is added.) However, HyperTerminal does see it and lists it in the Properties screen, the "Connect using..." list box. And the port works with HyperTerminal. (Of course we've tried rebooting after uninstalling and/or reinstalling the device, with the same results.)
When I've spoken to the NI Applications Engineers in the past about serial port issues (not about this problem) they have confirmed that if HyperTerminal can see the port then NI VISA should also see it. This is crazy. I am posting this in hope that someone can shed some light on this problem.
Thank you. -Ed

Good catch. Yes, we're using the Silicon Labs CP2102 and have created a "custom driver" installation package. Our new PCBs have a factory-programmed chip, so the PC reuses that COM port (COM3 on that PC). The problem is when we we re-program the CP2102 (setIDs exe) with our PID, and device strings (including the S/N), the PC runs our installer and assigns the next COM port number. I was hoping that maybe it would go up to 64K or something! Anyway, it surpassed COM256 but we ran into this problem when almost up to COM900.)
There is a registry entry for each SN device, which shows the assigned port. If we delete the key with regedit, the COM port database (don't know the file name) still has the port number. That's where Device Manager comes in. It seems to allow us to manually delete the ports, but it would take quite a while to delete 900. (I was trying to make a batch file for DevCon, but couldn't get it to see the HW ID of the devices in need of deletion.) So we tried manually deleting a few. After doing that Device Manager shows that Windows (and HyperTerminal) can reuse the port number when a new device (new SN) is installed, but, as you know from this post, VISA cannot see unless I manually add it in MAX.
I can't see how it has anything to do with the Silicon Labs driver. I might have to delete ALL of MY devices, then uninstall the driver files, reboot, then reinstall, as you suggested with the SiLabs driver. However, I don't see how VISA will now see these changes. VISA must have it's own database. That's what I thought deleting the ports in MAX would clear out, like a fresh install, but apparently not.
I've been through Silicon Labs' tech support on other issues and they've been able to help on some. I could run this by them.
BTW, have you noticed that Silicon Labs' chip and driver, while faster than NI's own "bridge" or serial-USB converter (I returned it because at $100 it's performance was worse than a $20 converter you can buy in Staples), is substantially slower than a real serial port? For example, our device can transmit 250 readings per second (a 12 byte string). A real serial port used with my LabView program can keep up, i.e.., graph & tabulate at that rate, but with a VCP we only get about 70 RPS. Same code. Can't figure this one out. They say the've tested the driver to 900 KB claimed. We're using 115KB here. Anyway, the VCP driver makes it look like a COM port which LV thinks it is. Why is it slower than a real port when the USB should be able to work almost 10 times faster than I'm using it (up to 1024 bytes per mSec per the full-speed USB spec, which SiLabs claims they verified)?
Anyway, I appreciate your help. Thanks! -Ed

Similar Messages

  • Unknown USB Device in Windows - VISA does not see it

    Hello,
    I'm trying to connect my STM microcontroller to my computer using USB protocol and VISA software. When I plug STM USB device into USB port Windows sees it as unknown device and can not find any driver for it. I assume that this is situation VISA was created for. So I want to use a driver wizard to create driver for this device, but VISA does not display it in a device list. I tried to create and install driver for my device as if it was not connected, and installed created driver manually but it did not work.
    Is it possible that Windows detects a USB device and VISA can't see it?

    It actually depends what sort of USB device it should be. If it is a COMM USB class device, Windows should be able to pick it up directly as serial port, if it is some proprietary USB class, then you either have to get a driver installed and access that driver somehow, or create an INF file with the VISA driver wizard for it and write the driver yourself in LabVIEW using the VISA USB Raw interface. Without a very good description of the low level USB protocol however this last option is a complete no go.
    If the VISA driver wizard doesn't display the device in the list then Windows has already claimed it somehow.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • VISA "Find" not seeing COM port but Win7 sees it

    Allo.  I'm trying to communicate via virtual com ports with a device with an FTDI chip.  The device with the FTDI chip has both a USB type B port as well as a 9 pin dsub port, and I need to verify both ports work.
    I'm using a laptop with Windows 7 and my program is in LV 2010.  I have a Sabrent USB to serial cable to test the dsub port, and a standard USB cable to test the other port.  I've installed the latest FTDI drivers and when I plug in both cables and look under Windows Device Manager, I will see both of them under unique COM port settings (usually COM4 and COM 5).  So Windows sees and recognizes both virtual COM ports, and no yellow warnings.
    However when I run the "VISA Find" function in LabView, it only sees COM5 (the Sabrent serial cable) but not the COM port using the USB type B cable.  I send the results of the "VISA find" to a display and it will show other ports, like the parallel port, so I know it's seeing more than one port.
    Any ideas why Windows can see the two COM ports but the "VISA Find" function can only see one?  My guess is there's something with the FTDI driver set up.
    Amateur programmer for over 10 years!

    Yes, but its not for the faint of heart!
    You can probably do what you want by using the refresh "F5" in MAX or add this token
    [VISA-CONFIG]
    ShowRegisteredDevOnly = 0 
    to C:\ProgramData\National Instruments\NIvisa\visaconfig.ini
    Another thing to try is to recover the unused COM Port numbers each time you change the device.  By default Windows will "Save" those previously connected COM port numbers an if it sees the device again it will re-assign the old number.  This means that the COM number keeps getting larger and larger.  At some point the PC's BIOS will say that's rediculous and you will experience trouble.
    Programatically you could call
    C:\Program Files\National Instruments\NI-Serial\NiPortConfig.exe to launch the same utility.  there is probably even and unpublished switch to click just that one big button for you but I can't find it.
    It looks like you may be running into some part of this known issue
    Jeff

  • Hello I send imessages to a phone number I receive delivery notice but sms does not show on receiving phone. Otherwise when receive imessage from other phone I reply and receiver sees SMS !!! Any explanation ?

    Hello I send imessages to a phone number I receive delivery notice but sms does not show on receiving phone. Otherwise when receive imessage from other phone I reply and receiver sees SMS !!! Any explanation ?

    To my knowledge, I've only seen this for imessage only and not SMS.
    The other users would need to have send read receipts enabled on their phone.

  • I have a macbook 13"screen purchased in 2007; I want to hook it up to my HDTV; I purchased a mini display port to hdmi adaptor but it does not fit.   what kind of adaptor will work for this model?

    I have a Macbook, 13" screen, purchased in 2007.    I want to hook it up to my HDTV; I purchased a mini display port to hdmi adapter but it does not fit.   Any suggestions?

    If you connect yourMacBook using a MiniDVI/HDMI adapter you will need to use external speakers for audio since the pre-2010 MacBooks will only send video through the MiniDVI or MiniDisplay Port . The MiniDVI/HDMI doesn't carry audio and there's no audio plugs on the TV to work with HDMI since it's expecting audio with the HDMI.
    If your TV has a DVI input plug you can use a MiniDisplayPort/DVI adapter. Then a DVI cable to the DVI input plug on the TV. The TV will have RCA audio plugs for use with the DVI. Plus DVI gives a sharper image than HDMI.

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • I have a disk in my mac and came not get it out?  I use the command E key to eject but it does note come out?

    I have a disk in my mac but it does note come out useing command e to eject? how do i get it out or do I have to get it jixed?

    Force eject a stuck cd/dvd
    First try the normal methods to remove the disc. Drag its icon to the Trash can in the Dock or select 'Eject' from the File menu.
    If you are running a virtual machine, e.g. VMFusion, ensure that the CD is disconnected from the virtual machine. This will sometimes allow the CD to now show up in Mac OS X.
    Shut down the computer and start up whilst holding down the mouse button. This may take some time, but keep your finger on the mouse button right up until the disc comes out or the log-in screen has appeared.
    If you have Toast Titanium installed on your computer, choose EJECT DISC from the menubar.
    Sometimes you can successfully use the eject disc button in iTunes even if the disc is not visible to the Finder
    Open Disc utility and choose the disc you wish to eject in the left-hand pane, then click on the Eject button.
    Some Macintoshes have a paperclip hole that you can insert a straightened paperclip into, manually triggering the eject mechanism.
    Open Terminal and type "drutil tray eject" to eject the disc/tray, and "drutil tray close" to close the tray.
    If your computer has an eject button on the keyboard, restart the computer holding down the Option key. When the startup disk selection screen appears, let go of the option key and press the keyboard's eject button.
    Source: http://guides.macrumors.com/Force_Eject_a_Stuck_CD_or_DVD

  • I cant to use In App Purchase and i purchase Gem in App Game Brave frontier but gem does not com in my id

    i cant to use In App Purchase and i purchase Gem in App Game Brave frontier but gem does not come in my id

    Jyothsna wrote:
    my problem is the users already purchased the app should have 1 year validity ,after that i want the user to use "Update Subscription".
    Can you explain this a bit more? Users who purchase the app should have a 1 year validity for what? Are you talking about the app purchase or the in-app purchase? Are you talking about future in-app purchases or people who have already purchased your app before you added the in-app purchase feature?
    Can i get the Purchase date of the app based on the user from app store.
    Yes. When your app completes the in-app purchase, it should forward the receipt to your server, which will verify it with iTunes, and complete the transaction. All the details are here.

  • Have back up disks but restore does not come up

    I had to reload windows so I backed up my itunes with a previous version (not sure which one). When my computer was back up I downloaded Itunes 7. It says to open itunes and insert your back up disk. Then click restore.....but restore does not come up anywhere as an option. I tried going to file - back up to disk - and restore is not an option there either. It says to open itunes and insert disk. Where is this so called restore button!!!! I am going crazy

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (103834)

  • I bought the ipod touch today but it does not come with a wrist loop strap

    hi there i just bought my ipod touch 5th just today and tot thet would put the loop wrist strap in but it does not come in just wandering where can i get the wrist loop strap

    The 16 GB 5G does not come with a strap.
    iPod touch
    iPod touch loop
    (sold separately for 16GB model)
    Apple EarPods
    Lightning to USB Cable
    Quick Start guide
    You can purchase a strap at an Apple store and maybe from a place like Best Buy.

  • TS1363 the trouble shooting appears to be for ipods only, my computer sees my iphone, but itunes does not

    trying to update my iphone 5
    my computer sees the device, my itunes account does not?
    trouble shooting via itunes was for ipods only

    Try Andrei Cerbu's post here or see TS1538: iOS: Device not recognized in iTunes for Windows, in particular section 5, forcing a driver update.
    tt2

  • Cannot Wi-Fi Sync iPad; Appears to see iMac but iMac does not see the iPad

    Like many, I have upgraded my iPad (1st Gen) to iOS 5 and for the most part, it's been an easy transistion to learn the new features. However, I've not been able to overcome a Wi-Fi Sync issue.
    The iPad does recognize that it can Wi-Fi Sync with my iMac.
    When it was connected via cable, I had already selected the "Sync with this [iOS device] over Wi-Fi" Option in iTunes then clicked "Apply."
    Under Settings > General > iTunes Sync on my iPad, the "Sync Now" button is grey when I connect to an alternate Wi-Fi network in our house, but when I am on the same Wi-Fi network as my computer, through an Apple Airport Extreme Basestation, the "Sync Now" button becomes actively black as it if recognizes my iMac, but it does not show up under iTunes to sync.
    I connected the iPad to an alternate computer which is linked to iPhone running iOS 5 on the alternate Wi-Fi Network I spoke of earlier and through which we succesfully Wi-Fi Synced, but when my iPad was linked to this same computer (connected first by cable to enable "Sync with this [iOS device] over Wi-Fi" Option in iTunes first, it still would not show my iPad. And this time, not even my iPad would see the computer when on the same network, yet I could also see the iPhone mentioned which was upstairs.
    I have tried following the steps in this Help Page (http://support.apple.com/kb/TS4062) but without any change. The only thing I haven't followed to the letter is restarting my router. I did tell my Airport Basestation to restart via the Airport Utility.
    Has anyone else yet experienced this issue and been able to resolve it? Please share any insight.

    When one device can't see another via Bonjour, it suggests a problem with how the network or the devices are handling "multicast" packets. Handling multicasts is tricky on Wi-Fi. Is there any way you can temporarily plug the iMac into the LAN port of the base station via an Ethernet cable, and try the sync that way? If that works, then it's a clear indication of multicast problems on your network.
    Apple is usually very good about making sure multicasts work reliably on AirPort base stations and all Macs and iOS client devices. It would be interesting to know which generation of AirPort Extreme you have, what firmware version you're running on it, exactly which wireless security mode you're using (for instance, WPA2 "mixed mode", where both WPA2-style AES-CCMP and original WPA-style TKIP encryption are available, is trickier for multicasts because multicasts have to use a different cipher and key. "WEP TSN" is also tricky for similar reasons). Oh, and what you have your "multicast rate" set to on your base station.

  • I was Updating my Iphone 4s to iOS 6 through itunes. an error happended now iphone stuck on connect to itunes logo screen .  tried tukrning on and of it connects but itunes does not recognize so i can restore .. any ideas?

    I was Updating my Iphone 4s to iOS 6 through itunes. an error happended now iphone stuck on connect to itunes logo screen .  tried tukrning on and of it connects but itunes does not recognize so i can restore .. any ideas?

    Dont know if accidently fixed it or not i got it to be recogniced by itune im restoring it now.  i held the power/sleep button till turned off.  then while holding the home button under the screen connected it to the usb wire .. also i change the usb port i was using on my computer dont know if it was luck or what but glad i got my phone back.
    itunes recognized it as in recovery mode
    http://support.apple.com/kb/HT1808
    got it working currently restoring from backup good luck guys

  • I have an I-mac with Max OS X vers. 10.6.8. Have tried to install both an old Photoshop 7.0 and an Photoshop Elements but it does not work. 7.0 I bought many years ago end the Elements came with a Canon scanner. What to do? Regards Peter Lindgren

    en

    I´ll check the messages. Elements 4.0.
    Peter
    9 dec 2014 kl. 18.44 skrev Jeff A Wright:
    I have an I-mac with Max OS X vers. 10.6.8. Have tried to install both an old Photoshop 7.0 and an Photoshop Elements but it does not work. 7.0 I bought many years ago end the Elements came with a Canon scanner. What to do? Regards Peter Lindgren
    created by Jeff A Wright in Downloading, Installing, Setting Up - View the full discussion
    Peter Lindgren do you receive any specific error messages when you attempt to install Photoshop 7 or Photoshop Elements?  What version of Photoshop Elements are you installing?
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/6999366#6999366 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/6999366#6999366
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    Clean iPhone charging port with clean dry toothbrush. See if better. If still problem clean charging port again with toothbrush and small amount of Isopropyl Alcohol.

Maybe you are looking for

  • Standard WebClient UI business role for the CRM 7.0

    Hello Gurus where can we get the below mentioned thing....i tried in service market place but i did not get The predefined authorization roles are provided as attachment BP_CRM_ROLES.ZIP to the collective note of this SAP Best Practices version. Down

  • Old computer crashed/burned...literally

    My fiance had her shuffle and I had my Mini set up on the same computer and Library so we could easily move music from our library to either of our ipods. Well our old Dell crashed and was unrecoverable. Her shuffle was erased. We now have a brand ne

  • How do I get the address bar to not have faded out parts?

    I just let firefox update itself, and now my address bar is all faded except for the domain name. This is annoying, as it's harder to read the rest of the URL. How do I get it back to normal?

  • Error wile using colmap

    Hi, I am getting some error while using colmap command. Attached below are my extract, datapump, replicat files. Pls let me know what i need to fix this error Thanks Extract EXTRACT eactlg EXTTRAIL ./dirdat/ea USERID gguser, PASSWORD gguser TABLE xxx

  • How to deploy SSRS 2008 reports to Sharepoint 2013.

     Hi,    Can some one guide me how to deploy SSRS 2008 reports to SharePoint 2013 by giving the exact steps from where to begin. We have all our reports deployed in SharePoint 2010.Need to migrate those reports to Sharepoint 2013 instance. I also want