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/

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 Serial Port

    Hi,
    Hi I have an application that i have to communicate with serial port...
    Its working perfectly if am giving all the com settings as constants(pls hav a look @ codea).
    But i want to read the port number and baud reate from text file.When i changed the coding,in the serial
    setting i was not even able to find the port number and baud rate.it was displaying as buffer size.I think the way i connected the port number and baudrate to the clusture may be wrong(pls refer codeb).How do i fix this problem?
    Thanks in Advance....
    Solved!
    Go to Solution.
    Attachments:
    modemsetting.JPG ‏88 KB

    The problem I think is that you don't have a cluster tied to the center terminal of the bundler so most of the values don't have a name. Wire the cluster from above to the center terminal on the lower bundler. BTW, it doesn't matter what values are in the cluster you wire up because they will be overwritten.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • 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.

  • 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.

  • Communications with MIDI Port

    Hi all,
    Does anyone have experience with MIDI (Musical Instrument Digital Interface)
    and LabVIEW?
    Any pointers would be appreciated.
    Regards,
    Paul

    A few years ago my company designed (and sells) a MIDI-command compatible 4x2 audio mixer.
    It is controlled via LabVIEW through the RS-232 port.
    I asked another LabVIEW forum on the MIDI issue and I got advise to use activeX.
    We found out by a user that our mixer could also be used in combination with MIDI software by using a driver (available from different companies) that sends MIDI-commands to the COMport.
    [email protected]

  • RMI Communication with Fixed port

    I am mentioning here what I have done
    MyServer class
    public class MyRMIServer {
         public static void main(String[] args) {
                        try{
                   System.setSecurityManager(new RMISecurityManager());
                   MyRMIServiceInterface myRMIServiceInterface = (MyRMIServiceInterface)UnicastRemoteObject.exportObject(new MyRMIServiceImpl(), 50000);
                   Registry registry = LocateRegistry.createRegistry(1099);
                   registry.bind("myRMIImplInstance", myRMIServiceInterface);
              catch (Exception e) {
                   e.printStackTrace();
    My client class
    public class MyRMIClient {
         public static void main(String[] args) {
              try{
                   Registry registry = LocateRegistry.getRegistry("localhost", 1099);
                   MyRMIServiceInterface myRMIServiceInterface = (MyRMIServiceInterface)registry.lookup("myRMIImplInstance");
                   myRMIServiceInterface.getDate();
              catch (Exception e) {
                   e.printStackTrace();
    My rmi.policy
    permission java.net.SocketPermission "localhost:1099", "connect, resolve";     
         permission java.net.SocketPermission "localhost:50000", "connect, resolve";
         permission java.net.SocketPermission "localhost:50000", "accept, resolve";
    I run this program and getting exception at server side
    Exception in thread "RMI TCP Connection(idle)" java.security.AccessControlExcept
    ion: access denied (java.net.SocketPermission 127.0.0.1:49642 accept,resolve)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkAccept(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.checkAcceptPermi
    ssion(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.checkAcceptPermission(Unknown Sour
    ce)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Sou
    rce)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
    ce)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    and the 49642 is random
    Please clear my concept. Is it possible to make this communication to 50000.
    Edited by: Basir.Ahmed on Feb 14, 2010 7:01 PM
    Edited by: Basir.Ahmed on Feb 14, 2010 7:02 PM

    So Could you tell me why this permission level is not workingCertainly. I wrote:
    you have to define SocketPermissions at the server that permit it to accept from any client port numberYou implemented:
    permission java.net.SocketPermission "localhost:50000", "accept, resolve";So you haven't done what I said.
    Why I got the above exception. That's why.
    Is this case of local machine only? You've specified that you will only accept connections from 'localhost' on port 50000. I've already told you that the port number is too restrictive, you have to allow any ports, say 1024-. If 'localhost' is too restrictive, change that too, but I don't know what your requirement is (or why you are still using a SecurityManager at all).
    For above test does not relate the firewall like configuration?I don't understand that.

  • 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

  • Commands to FTDI virtual COM port via NI VISA interfere with communication with FTDI chip using D2XX drivers

    Hello!  
    I am trying to communicate with a DLP Design module DLP-USB1232H which uses an FTDI chip.  My program uses the D2XX drivers.  It works, but...
    In another program that runs at the same time, I'm communicating with another instrument via a virtual COM port (VCP) that uses an FTDI UART.  In this program, I use the VISA Serial Port functions.  It works, too, but...
    The first program has the capability of listing all the FTDI devices in the system prior to choosing the right one to communicate with.  When the VCP is plugged in, it lists it (FT232R USB UART) along with the DLP-USB1232H and communication with the latter device works.   But as soon as the second program sends a command through the VCP, the first program no longer "sees" any FTDI device.  It stops working.
    I have tried 2 different FTDI VCPs; one a standalone cable and the other built in to the instrument.
    I’m using Windows 7 32-bit.  My programs are both LabVIEW 8.5 executables. 
    Is VISA "taking over" the channel to the DLP-USB1232H?  Does someone who understands NI's implementation of VISA have any ideas on why VISA is doing this?  Or if something else is going on?
    I'm also interested in workaround ideas.  I've tried a "Prolific" VCP, but most drivers don't work and the one that doesn't give an error in Device Manager doesn't communicate with the instrument.  
    Cheers
    Halden
    Solved!
    Go to Solution.

    Halden,
    It really sounds like you have a resource conflict. That occurs when two programs or parts of programs try to use the same device or port at the same time.  Your Get Device Function probably tries to open a session with each port (as you increment the index). When it hits a port which is being used by the other driver, it cannot open the session and stops working? Have you examined the errors returned by each program? The VISA drivers will return an error when the port is in use.  I do not know about your program or drivers, but I would expect some kind of error.  Automatic error handling in LabVIEW will not catch errors from a driver if it does not translate them to LV error clusters. So do not count on automatic error handling, if you use it, to display all possible errors.
    Lynn

  • Communicating via the Com port (comm)

    Hi Folks,
    I'm trying to communicate to the com port on my device but apparently can't "see" any available com ports.
    Actually I'm trying to communicate via the Infrared port on my device and have been able to do so on a Nokia using COM0, however, on an Orange SPV, no ports are available. I'm using the Connector class from GCF.
    I've used
    System.getProperty("microedition.commports")
    and on the Nokia get a load of ports back, however, on the other device I get back null. The device does have a IrDA port so I feel like I should be able to access it, I just don't know how.
    I wondered if there is other ways to get hold of a port?
    Reading http://developers.sun.com/mobility/midp/questions/properties/index.html it implies that the above property is implementation specific, does that mean Midlet Manager implementation specific (the SPV device uses Intent Java).
    Thanks for any suggestions or any tips / links on IrDA / serial communication with ME :)
    Cheers,
    Toby

    Start with the NI modbus library.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/201​711
    Or download portmon and use it to watch the data as modscan is working. Then use VISA and serial port commands to transfer data bytes until it matches what modscan is transmitting. You'll learn more doing it this way.
    Also download the modbus protocol pdf file.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=197677&query.id=96682#M197677
    Message Edited by unclebump on 03-10-2008 06:04 PM

  • 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

  • PC Suite with Nokia 5700 uses two COM ports?

    I am using Nokia PC Suite 6.84 with a Nokia 5700. The phone is connected to the laptop via a USB cable. I have installed the software on two separate laptops, one running XP with Service Pack 2, another running Vista.
    Whenever I plug-in the phone, I see two COM ports associated with it. The first COM port shows up in Window’s device manager as COM port 6 (see attached JPG), however, this COM port seems invalid. When I use HyperTerminal, I see two COM ports displayed: COM port 6 and COM port 7. Using HyperTerminal, I can communicate with the Nokia 5700 on COM port 7 but COM port 6 is always unresponsive.
    Can anyone tell me:
    1. Why two COM ports are used with the Nokia 5700 and PC Suite?
    2. What is the purpose of these two COM ports?
    3. Are they always contiguous? On different computers, I have seen the Nokia phone bind to COM ports 6 and 7, 9 and 10, and 10 and 11.
    NOTE: I could not attach the file as a JPG, so I renamed it with a *.log extension. Just replace with .log with .jpg and view it in any browser.
    Attachments:
    NokiaComPortProblem.log ‏82 KB

    So, nobody knows for what it is?
    Symbian freeware http://symbiancorner.blogspot.com

Maybe you are looking for

  • What's a good interface for sRGB colours?

    I'm writing a ray-tracer, which uses Python to define its scene files.  The ray-tracer itself handles sRGB gamma correctly, but I'm having a hard time coming up with an interface that exposes that functionality clearly to the user.  I'll explain with

  • Hi I really need serious help right now

    Okay, from the start, Im a user of s820 , and today, apparently the phone wont turn on, it does not show any led charge light when i put on my cable , and i ve trie hard reset but it wont work, and is there any way i could do? i didnt run anything ex

  • Mail application showing mail in inbox as an error

    My mail application on a 3G iPhone is stuck displaying 52 messages when infact there are none in the inbox. I've searched the support section but can't find any details on this. Any ideas anyone?

  • My contacts in my iphone disappear

    I have Iphone 4s and all my contcts are gone, how can I recover them?

  • 3rsm on x86?

    The remote shared memory API documented in 3rsm on Solaris 9 and 10 looks like an almost perfect solution for a difficult resiliency problem I need to solve. But too bad: everything I can find at sun.com shows that the SCI card sun offers (X1074A) to