USB to 232 Converter Question

Hello
I an working on a project that will use LV to send a string to a 8051 MCU.  Prior to my knowledge of the NI USB-232 device that already has a driver written I spec'ed a radio shack USB to 232 cable.  I selected that cable because I have used it in the past and it alwasys seemed to work without a problem.
BUT (isn't there always a but)  I noticed that sometimes when the cable is plugged into the PC it does not always get configured as the same com port. 
My question is this:  If I am not sure which com port will be created when the USB to 232 cable is plugged into the PC how can I get LV to find the correct com port so it can send the sting to the MCU?
Best Regards
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

I know that I am replying to an old thread, but I thought I would fill in some information for anyone else who happens upon this. Windows utilizes the product serial number in order to uniquely identify USB devices on the system. If there is no serial number (which is optional for USB devices), the device is identified by the USB port to which it is connected.
Many "electronics store" USB to serial converters (and even some more expensive ones) do not provide serial numbers, so Windows has no way to recognize when the same hardware is plugged into a different USB port. This means that any time you switch USB ports, you are likely to receive a new port number.
You will probably always receive the same port number as long as you are careful to always use the same USB port.
This should not be a problem with any product which supplies a unique serial number to Windows, although this is dependent on the individual driver implementation. Unfortunately is is virtually impossible to tell without buying a product whether it will identify itself in this way. All NI USB-232 and USB-485 products identify themselves uniquely to the operating system, and we take care to ensure that you
will always receive the same port number, even when switching USB
ports.
-Jason S.
National Instruments

Similar Messages

  • Usb to 232 converter and windows 7

    Hi All,
    Taking a long shot hoping someone has an idea on what the possible solution could be. Hoping I've just missed something obvious. I have a customer who is using the NI usb to 232 converter. The software he is using is emh camcal software. He says the comms worked fine on his XP machine, then he moved it across to a machine with Windows 7. He installed the latest driver, NI serial 3.5.1 I think it is, which supports Windows 7. Now the communication doesn't work. I've got him to run the troubleshooting wizard for ni serial and everything seems fine.
    The client says he's tried a cheap usb to serial converter in place of the NI product and everything has worked. Maybe its got something to do with the configuring of the com ports when the device is plugged in?
    Thanks,
    Jevon

    Hello Jevon,
    Here is a few other things I would try. First does the Windows 7 machine see the COM port in the device manager? If it does, I would make sure to see if MAX sees the device on the customers machine. From MAX you can test the connection with it by using the NI-Serial communicator. I have copied the steps to do this from the manual below.
    Launch MAX.
    Expand the My System directory by clicking the
    + next to the folder.
    Expand the Devices and Interfaces directory by clicking the
    + next to the folder.
    Select your serial interface and expand it to see its ports by clicking the
    + next to its name.
    Right-click on the serial port you want to use and select
    Communicate with Instrument. This launches the NI-Serial
    Communicator.
    Depending on the result of this test, the problem could be with the serial converter or the program communicating with this device. There is a Knowledgebase that contains a lot of different ways to debug these problems and the URL is below.
    http://digital.ni.com/public.nsf/allkb/E8CAFBC41A7B9BF086256D3C00650011
    JimS
    Jim St
    National Instruments
    RF Product Support Engineer

  • Bluetooth/USB RS-232 converter recommendation

    Hi,
    As laptops haven't come with a serial (RS-232) port for a long time, would anyone have recommendations on what to use (Manufacturer, model, etc.) to do that? I need to connect to various routers, switches, servers, etc. with 9600 8N1 and the Bluetooth or USB device needs to be able to pass the BREAK signal correctly but those are pretty much my only requirements.
    Also, do people use kermit or something else (zterm? is there an universal binary?) on OSX as their serial communications program? Googling didn't really help this time.
    Thanks
    Kaj
    MacBook Pro 2 GHz   Mac OS X (10.4.6)  

    Hi, Kaj —
    and welcome to Apple Discussions.
    Your serial-device-related needs are outside my experience, but I may be able to help get you started with Bluetooth-related resources beyond Googling. From your query, I presume that you are aware that "Apple Bluetooth software lets you add virtual serial ports to your computer to enable incoming and outgoing connections with Bluetooth devices."...?
    Links to Bluetooth-related resources.
    First, here are results from a < serial RS-232 > search within Bluetooth.com — the "Official Bluetooth® website". Bluetooth.org —home of the Bluetooth® SIG (Special Interest Group of lead companies developing the open-source specifications) has lists of products and organizations, and may also be worth a look. Various technical associations such as PaloWireless Bluetooth Resource Center and Bluetooth White Papers also provide access to a lot of Bluetooth-related info. Sorry — I don't have time right now to help with the search, but my guess is that your efforts with one or more of these links will prove fruitful. [1]
    Another resource you may want to bookmark and keep up with is MacInTouch's Universal Binaries and Intel-Native Mac Applications listing...
    I hope this helps to get you headed toward answers — at least until someone with this specific expertise "drops by" your thread...
    Regards,
    Dean
    [1]  If/when I find anything more specifically helpful, I'll post back...
    [2,129 ⊥ 3,535]

  • None of the stores seem to have a spare for the iphone USB to Lightining converter cable, why is that????

    The charger for my iphone5 is lost and I am trying to find a replacement. None of the stores have a stock of the original apple USB to lightning converter cables, most of them dont have it at all or have a third party cable from Gecko or some other brand. Cant see why they are not stocking original apple products despite them being premium resellers of Apple. Is apple even aware of all of this.

    We're users here Vivek, not Apple.  Asking your question here is pointless.  We don't speak for Apple and would have no more idea than you do as to why these are out of stock.
    Do you have a technical support issue?

  • 1 more time: I installed Samsung 840EVO SSD and tried to clone the OEM drive to it. Disk Utility shows all files landed in the new SSD thru the USB to SATA converter cable yet my Mac won't boot. Why's that?

    The question is why won't my Mac boot with the new  840EVO SSD that I thought I'd successfully cloned all contents from the OEM hard drive by using a USB to SATA converter cable. Disk Utility seemed to indicate the SSD had captured everything from the OEM drive. Note the OEM had 2 partitions to run Parallels Windows XP

    XP is not supported externally or if you install Mavericks, and Microsoft is trying their hardest t o get people off that old tin can, rightly so.
    Usually Carbon Copy Cloner will. Usally. DU is not really meant to and you had 4 partitions before.
    This forum is not for MacBook Pro btw.
    Cloning with DU or CCC may do a perfect job but not be bootable if t he interface or case is not.
    The EVO is capable of 500MB/sec so even your mid-2010 MBP is not going to get the top performance but should be better once you swap it out than what you were using.

  • USB to 422 Converter Woes

    I have a USB to RS422 converter that was packaged with an IMS MDrive 23 stepper motor controller. I probably should have bought the NI Converter as I
    can’t get LabView to write to the port. The device is nicely packaged with a
    driver that makes it appear in Device Manager like a standard serial port.
    M&A Explorer seems to like it and will open a VISA session.
    I can’t get past the LabView standard VISA Write command. It issues a
    “Could Not Perform operation because of an I/O error" or a “The specified
    attribute is not defined or supported by the referenced resource" error.
    When I reboot the motor controller, it issues a “reboot successful“message
    that can be read from the port from LabView, so I am communicating with the
    port and controller in one direction.
    Without changing anything, HyperTerminal communicates
    successfully.
    Any ideas will be cheerfully and thankfully appreciated.

    I have used the IMS converter with Labview, but only to test basic comms.  If I recall, it echoed back the command, but I believe that can be disabled in the MDrive.
    Attachments:
    IMS Write Read.vi ‏22 KB

  • USB to Parallel Converter

    Has anyone had success using any USB to parallel port converter?  I've tried 3 different cables including one that supposedly supported the full IEEE-1284 standard, but all of them show up only as a virtual printer port.  Is there a way to get access to this port through LabView?  Are there any cables/converters out that actually show up as a regular parallel port?  I've searched far and wide for one, but had no luck.  I searched the boards to see if anyone had done this, but most of the posts were over a year old and had no resolution confirming whether or not a proposed solution worked or not.  Thanks in advance for any help,
    Travis

    LittlemanTAMU wrote:
    Has anyone had success using any USB to parallel port converter?  I've tried 3 different cables including one that supposedly supported the full IEEE-1284 standard, but all of them show up only as a virtual printer port.  Is there a way to get access to this port through LabView?  Are there any cables/converters out that actually show up as a regular parallel port?  I've searched far and wide for one, but had no luck.  I searched the boards to see if anyone had done this, but most of the posts were over a year old and had no resolution confirming whether or not a proposed solution worked or not.  Thanks in advance for any help,
    Travis
    What OS are you using? I had the same problem with XP and LabVIEW 7.0 & &.1. But using the same USB-parallel  port converter under WIN2k I was able to access this as a parallel port. In the end my solution was to go to a PCI parallel port which worked fine under both OSes.
    Tim Norris
    "...and all this science I don't understand
    it's just my job five days a week"
    Using 6i, 7.0 & 7.1 on Win'98, 2K & XP

  • USB to SATA Converter

    Hi,
    I would like to upgrade the HDD of a MacBook Pro to a Solid Sate Hybrid Drive (MacBook Pro 5.1 late 2008). Before removing the original internal HDD I would like to install the Mac OS on the new drive, make sure it works ok.
    I have looked online and seen different USB to SATA converter cables. Some come with 1 USB port, some with 2 USB ports, and some even with an external power supply. Any suggestions?
    Thanks,
    Pablo

    Any cable configuration that recognizes the external HDD will work.
    I recommend that you use Disk Utility>Restore or Carbon Copy Cloner to copy the data from your current internal HDD.
    Do not for get that the new drive will have to be formatted first in Disk Utility>Erase to Mac OS Extended (Journaled) before the cloning.
    Ciao.

  • Usb to serial converter console access on aironet 1131

    I am having difficulty accessing the console port utilizing a usb to serial converter. My settings are 9600, 8,n,1 and flow control is none.
    The converter works if I use it for switches and router but fails on the aironet.
    I can access the aironet if I go directly to the serial port.

    Hi,
    I haven't seen this problem except when I chose the incorrect COM port in my terminal emulator. Otherwise, usb-to-serial cables haven't presented any issues with Aironet equipment.
    Sorry I couldn't help further. Maybe someone else has seen this issue.
    -Ben

  • USB to SPI Converter

    HiI'm trying to use USC-216 Isolated USB to SPI Converter with Labview.But I can't communicate with the unit Is someone familiar with this converter?Best regardsGuy  
    Solved!
    Go to Solution.

    Sorry about the late response
    I don’t have sample code but after I created inf file with NI driver wizard I managed to see the device by using VISA.
    Now my problem is that there is no response from the device
    The device is in bulk mode using endpoint 0 for enumeration, endpoint 1 for reception (IN endpoint) and endpoint 2 for transmission (OUT endpoint) Can you help me?
    Thank's
      Guy

  • Why won't my USB to Coax converter work? No output

    I'm trying to use a USB to Coax converter with my iMac. It's detected just fine but when I try to play any audio in iTunes it flat out won't tick past 0:00. It's like iTunes doesn't recognize it as an output.
    The device is an Audio-gd Digital Interface and I want to use it because the USB section of my Marantz SA8004 is awful. I know it's probably a quick fix but I'm at a loss.

    Is this a USB hard drive or a USB thumb drive?
    If hard drive is it one of the USB powered drives, IE No AC Adapter to supply power to the drive?

  • I2C data send using USB-to-I2C converter

    Hi guys me again
    Just when things started to look good another trouble comes
    We thought we will buy NI-8451 to implement I2C. We contacted NI also but suddenly another student comes and says we can implement I2C using Devantech USB-to-I2C converter..
    Can it be implemented using VISA(all operation of I2C like read, write, ack, clock stretching)???
    Thanks in advance

    I never used that device, but ran across it while searching for alternate I2C and SPI devices. That uses a standard FTDI interface chip, so the device shows up as a serial device. So, yes, you'd be able to use VISA to communicate with it. Please check the documentation for the device in the future.

  • Are there any usb to parallel converter cables that work with iMac 10.6?

    Have a Brother HL-5340D with damaged USB port, can I connect with a usb to parallel converter cable and have it work?

    If you try to tweak the dock with third party software, that will corrupt the Dock preferences. Better to leave well enough alone.

  • Usb to rs485 converter

    I need to know if the NI USB to RS 485 converter has the ability to configure individual ports for 2 wire and or 4 wire operation independantly?

    is there a speed increase with going to USB from RS-232? or is it pretty
    much defined by the device you're connecting to?
    "Chris Rake" wrote in message
    news:[email protected]..
    > Yes! The USB-485 ports are all individually controlled, so you can
    > configure each one either through the device manager or by making an
    > IOCTL call from software. Everything is independant.

  • Need USB / SATA adapter converter for SSD thnsn2128gsps

    Hi,
    I have an ssd from a broken macbook air thnsn2128gsps,
    Is there a converter available to either normal SATA interface or USB 2/3?
    I understand these ssd's use 3.3v and the normal SATA is 5V so a voltage change is needed.
    I just want to connect it to a PC (Got the software to read macdisks) to get the data off the drive.
    Thanks in advance.

    Don't get me started on Macs and non standard interfaces.
    I have found what looks like what we are both looking for, although the price is on the high side for the usb version. Also I have not yet found a UK supplier.
    PCIE adapter :-
    http://eshop.sintech.cn/20132014-mac...er-p-1026.html
    USB adapter:-
    http://www.pc-adapter.net/products/794.html
    A thread about the above on the apple forum
    https://discussions.apple.com/thread...rt=15&tstart=0
    Hope the above helps and if you find a UK supplier - please let me know

Maybe you are looking for

  • Prob in alv report

    hi all, I hav prob in alv report .I made a purchse register alv report.when I see output it show's everything right but in printpreiew and when transfer to spreadsheet. It cut's back part of voucher number.for ex.v.no :5100021 but see in print priew

  • PO number when save as Draft

    hi all, PO number is not unique while saving in Draft. I am getting problems in PO number when it is saved as draft and sent for Approval. I have 5 users entering PO at the same time and since POs are being sent for approvals, it is being saved as Dr

  • Personnel number in CATS_DA with BAdI

    I would like to fill the personnel number automaticly in transaction CATS_DA. Re: Select-options in CATS_DA using BAdI gave me some hints, but it's still not working the way it should. Does anyone has some example code for the method INITIALIZATION a

  • How to buy lion for another laptop?

    I want to erase the hard disk and install Lion system in a old laptop. I want to install from a bootable usb. Can I dowload the Lion system in a diferent (and new) laptop? already I saw there is a link to buy lion and apple send me a number to downlo

  • Leopard on powermac G5

    Because on advise from a friend I upgraded my G5 from tiger to leopard 10.5.2. Now the cpu goes on red with four miditracks. There is one track with a delay-designer and one track with a Sculpture. I have 6,5 giga RAM and Two 2 Ghz. On Tiger this was