I/O error with COM port

I have a RS485 line going into COM5 of my PC. Using HyperTerminal, I can talk to my serial device. However, there are problems with LabVIEW VISA functions. I can open the connection. I/O errors were given when I try to read or write. Is this because LabVIEW does not support RS485? What can cause the I/O error? Thanks.

Some tips,
First off, computer com ports are only RS-232. Make sure you are using the RS-232 port on the
ADAM-4570. Do you have to configure this port as RS-232 with Advantech software? If the ADAM is
configured as RS-485, you won't be able to talk to it without an RS-232 to RS-485 converter. Stick
with RS-232.
Secondly, make sure you have shut down all other software that is using COM5. Only one application
can use the port at a time and sometimes other applications don't release the port properly.
If HyperTerminal can talk to the ADAM, then everything is configured properly for a LabVIEW app. Be
sure to put a carriage return at the end of the command to the ADAM. HyperTerm does this
automatically, LabVIEW doesn't. Start with the basi
c commands you used with HyperTerminal.
"sy" wrote in message news:[email protected]..
> Good question. In fact, I think the problem stems from how COM5 is
> mapped to my PC. As for the second question, I got the same I/O error
> when using MAX. I believe that there is a conflict between NI
> software and the software I use to map the RS485 line to COM5.
>
> I am using Advantech's ADAM 4570 module to convert a RS485 line to
> ethernet. The ethernet cable goes into the PC. A software utility is
> used to map the ethernet connection to COM5. It is conflict between
> this utility and NI. Any idea on how to resolve the conflict? Thank
> you.

Similar Messages

  • Problem with Com port

    Hi guys. I have written a driver to communicate with a COM port (FTDI serial adapter).  On the pc from which I'm writing now (windows XP) it works properly, but when I try to use the same driver on another pc (win 7) labview see the port but isn't able to comunicate . I tried also to use a software like Tera Term to see if the com works and trying the echo it works good...so I don't understand where the problem is on this w7 pc... 
    should I install some labview drivers on the w7 pc? I have already installed
    NI run time installer
    NI max
    NI Visa run time

    NI Serial won't help (its for NI serial cards not 3rd party USB-Serial bridges)
    LabVIEW sees the VCP in Win7 but does not communicate: Works on XP: "Something" happens with Echo on from teraterm.
    I'l guess either:
    Wrong serial cable or settings and you are fooling yourself with the tereterm app and are seeing the echo only.  With Echo on any character sent should be doubled.
    Outdated FTDI Driver that does not support Win7.
    Jeff

  • Problem with COM port opening

    I made an application using COM port to dialog with a microcontroleur and i have some troubles with the opening of the port. i developed it under window XP pro and labview 6.1 and i have no problem when i launch my application on an XP PC having labview installed or on a window 98 PC without labview (just the runtime engine). But when i launch it on an XP pc with only the runtime engine, it seems to launch correctly but in fact, there is a problem with the COM port opening. The menu allowing to chose the port number is inactive and has no effect, like if the software wouldn't recognize the material port on the PC. And consequently, nothing happens when the dialog should start.
    Thank tou for your precious help
    Julien LEGRAND
    French Natio
    nal Institute for Sea Reseach

    Is the VISA run-time engine installed? I don't understand why it would work on the win98 machine unless you have an older installation of it there.

  • Communicating with COM port.

    Hi Experts,
    There is a electronic weighing machine and has a COM port ( communication port).  Can we connect to the COM port through ABAP?  I need to read the weight of the measured component to a table control directly from the weighing machine.
    Thanks and regards,
    M.Madhusudan Rao.

    http://java.sun.com/products/javacomm/

  • Flash Desktop App with Com Port

    Does anyone have any idea how to build a Flash desktop
    application for windows that basically provides a nice GUI to
    send/recieve very basic data to/from a serial/com port?
    Cheers,
    Chris :-)

    Thanks rritchey,
    I'm also looking into running Flash inside VB. Looks like the
    easiest solution so far, although I was hoping for something more
    simplistic.
    http://www.adobe.com/devnet/flashslideshow/
    http://www.anim-fx.com/flash-tutorials/insertvb6.html
    Other ideas still welcome.
    Cheers,
    Chris.

  • MAIL 1.3.11: server error with the port 110

    I have 10.3.9 with MAIL 1.3.11 and I can't conect to the server with the port 110... why does it happens? how i fix that? thanx

    I don't understand your obsession with overstuffed mailboxes.
    What are you talking about? As I told you in a previous post, Mail sometimes chokes on a message it cannot download and that prevents it from downloading the rest as well. This is a relatively common problem. It has absolutely nothing to do with overstuffed mailboxes.
    The two servers are failing to connect.
    This is wrong! And which two servers are you talking about? According to the activity information you reported, Mail is connecting to the POP server, but failing to download the messages it sees there for some reason...
    If you want to mess with the contents of your ~/Library/Mail/ folder (which you said in your first post you didn’t want to do), there are a couple of things you may try as well.
    For POP accounts, Mail uses a file within the account folder to keep track of which messages have already been downloaded. Deleting that file causes Mail to treat everything still on the server as if new and try to download it again:
    1. Quit Mail.
    2. In the Finder, go to ~/Library/Mail/POP-username@mailserver/.
    3. Locate one or two files named MessageUidsAlreadyDownloaded and move them to the Trash. Mail 1.x used MessageUidsAlreadyDownloaded to keep track of which messages had already been downloaded. Mail 2.x uses MessageUidsAlreadyDownloaded2 for the same purpose.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Error with com/sleepycat/db/EnvironmentConfig

    i have this message error when runing exampleLoadContainer.java in the examples
    java.lang.UnsupportedClassVersionError: com/sleepycat/db/EnvironmentConfig (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at dbxml.gettingStarted.exampleLoadContainer.createEnv(exampleLoadContainer.java:143)
         at dbxml.gettingStarted.exampleLoadContainer.loadXmlFiles(exampleLoadContainer.java:163)
         at dbxml.gettingStarted.exampleLoadContainer.main(exampleLoadContainer.java:85)
    Exception in thread "main"

    Hi,
    Do you have multiple versions of Java (JDK and JVM) installed on your machine?
    It sounds a Java class was possibly compiled with version 5 and run with a 1.4 JVM?
    Make sure that the JVM you use for execution is at least as new as the version of javac that was use for compilation.
    Ron

  • Problem removing bluetooth stack / hidden devices / COM ports not released

    Hi
    Having problem completely removing Toshiba Bluetooth stack / hidden devices / com ports not released
    I uninstalled Toshiba BT s/w...
    But:
    1) Toshiba BT hidden devices still appear and I can not remove (get error)
    2) COM ports occupied by Toshiba BT not released (so they cannot be used by another BT stack) and still appear in registry
    ex: friendly name Toshiba BT Port (COM4) still in registry
    3) These unreleased com ports do NOT appear in device manager
    Thanks

    It seems that you still have some configurations which were not removed during the uninstallation.
    This means that the resources can not be release, because those are still necessary in case of a
    new installation of the stack.
    The first I would try is the following:
    - Install the latest Toshiba Bluetooth stack.
    - Uninstall it. Ensure that you answer all questions with "yes" ! This means also the one which asks if all configurations should be removed.
    - Reboot
    - Check again

  • Access COM Port through Forms 6i

    Dear all,
    How r u???
    I want to connect hardware (i.e. IR devices) with COM port. And want to access through Forms. I have done it before in .NET technology but at this time i want to do this in Oracle Forms.
    Kindly reply me for this.@ [email protected]
    thanks
    Muhammad Raheel Mannan

    If you have done it in .net you can make it as exe and implement webutil in forms.
    Call the .net exe using the webutil client host
    Rajesh ALex

  • K7T266pro unstable com ports

    I am trying to connect Phone with a serial connection but the com port seems to struggle to keep a stable connection.
    Help me out guys.
    Cheers
     :]

    Thanks for the help maesus but i have no experience with com port configuration. any chance of some advice?
    If its any help i am connecting an F-BUS data cable to a Nokia 7210 for ringtone, jave games and apps upload to the phone.
    Thanks in advance for any help you can give.

  • I have 2 new computers and they don't have com ports, how to diag?

    I have 2 new computers and they don't have com ports only lpt
    and usb . what soft can i use for TIP connection . Or I need to buy
    one more with com port. Please , give me advice .I dont have video.I tryed different monitors with coneckor.any effect.

    Hello,
    please review the following thread
    ultra 10 remote access
    I would recommend that you either get a PCMCIA card that provides a serial port, a USB-to-Serial converter or just "lent" a system with a serial port. Usually current notebooks aren't equipped with a serial port.
    The TIP connection works only if the network is configured (after the operating system is loaded).
    What type of system you are trying to diagnose ?
    Michael

  • TS2634 My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What

    My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What can I do next since it doesn't give me even one clue as to what the error would be?

    Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted :  a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone.  I deleted that event, then went through the calendar resync one by one, and all seems OK now.
    In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them.  It would be nice to have a similar way to work with Calendar!
    Thanks for pointing me to the right article.

  • Satellite A300-1BZ with Vista - Com Port has disappeared

    Hi everyone.
    My first time and I'm a bit of a duffer with technical stuff, so please be gentle with me!
    A300-1BZ with Vista.
    A while ago I installed 'CarSoft V.83' (Engine diagnosis) from CD onto my laptop. It asked me to verify the com-port.
    I looked in the device manager and in the list I saw 'com-port 4'. Ok, we'll go with that then. Everything worked fine and I was happily talking away to my car.
    Yesterday I went to use it for the second time and it said there was an error with the com-port and to 'verify' the com-port.
    So, I got the device manager back up and there is no mention of any com-ports in the list! It was there the last time I looked and now it's vanished!
    I was at a loss what to do so, I uninstalled the CarSoft and then re-intsalled it again. Got the same error message.
    Went to device manager. Still no com-port 4 in the list, or anything that relates to a com-port.
    I don't know how or if I can get it back.
    Please help!

    Hi mate
    First of all there are no com ports. The com port which you could see in device manager was an virtual port created by car software.
    What to say
    I recommend removing the car software from the system firstly.
    Then download the CCleaner and clean the system and registry entries.
    Reboot the notebook and run the CCleaner again
    After that install the car software again
    Maybe it helps

  • Error 37 with serial port / no with hyperterminal

    I have added to my Pc a card with two serial port, I can access to them by hyperteminal or by labview but only at port 0 and 1 at the same time or 2 and 3, if not I have an error 37. What can I do?

    Error 37 means that LabVIEW cannot find the appropriate serial device. This indicates that one of the following conditions exists:
    LabVIEW cannot open the specified serial port;
    LabVIEW cannot find the file serpdrv.
    Make sure that the serial driver was installed before the board, and that the com ports appear normally in the control panel. If you cannot get it working, contact NI through either phone or email support. Since there are several potential causes, this is difficult to diagnose without more information. You can contact NI using the following webpage.
    http://sine.ni.com/apps/we/niae_asc.main
    Kim L.
    Applications Engineer
    National Instruments

  • Not enough memory error when disconnecting device on a virtual com port

    I maintain a large application that collects data from many data source channels (using coustom hardware read thru a conventional COM port) and I am adding a GPS data source on a USB port using a virtual COM port driver. The application runs 24/7/365 and works well including the GPS data, if undisturbed. However, the application needs to tolerate a physical disconnect and reconnect of the GPS device without user intervention.  When I disconnect the GPS, the application becomes unresponsive most of the time (the mouse responds and other programs that are open on the desktop work fine). I abstracted the serial code and made a separate vi (below) for testing.  When I disconnect the GPS from the COM port, I get a "Not enough memory to complete this operation" message 9 out of 10 times and the vi is unresponsive until I clear the error message (the tenth time it continues working). I built the vi this way to collect data continuously. I suspect that this is the problem with the full app but I don't see the Not enough memory message there and therefore the full app does not respond and must be terminated via Task Manager. The full app runs full screen mode.
    The LV app runs on Windows XP and LabView 7.0 (the client doesn't want to upgrade).
    I have tried probing the error message lines at all points in the vi but they don't show anything when the 'Not enough memory' message occurs (they show the expected device not found error after clearing the error message).
    Any suggestions would be greatly appreciated,
    Mel
    Still learning LV......
    Please post any code suggestions as graphics as I don't have access to any version of LabView newer than 7.0.
    Attachments:
    SerialPortRead.png ‏22 KB

    Jeff·Þ·Bohrer wrote:
    First, there likley WAS human intervention that caused the GPS device to be removed.  That wont happen when you lock the device inside a cabinet with the rest of the test system.  Physical access control first!  If someone goes and mucks with your experiment setup while its running, that's a "poor Labratory procedure" not a "new software requirement"
    I think he was meaning to say without user intervention on the software side.
    I have seen odd behavior if you disconnect from a com port whilst LV still has the port open.   There are a couple things I myself woud try, being the experimenting type that I am.  Perhaps setting up a com port check to see if it has a valid connection before polling for data. If not then a blank case or some other generic code. 
    The issue with this would be if it became disconnected while LV was polling data.  Hard to get around this condition.  Is there a way that the cause of the of the connect/disconnect (whether human or otherwise) could be set up so that a signal can be sent to the controlling system (pre-disconnect and post-connect) to trigger an event to handle the software side?  A simple signal switch or something.  Just thinking out loud. Withoug knowing all the particulars, it's hard to make detailed recommendations.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

Maybe you are looking for