Big Problems with the Serial Port

I'm Spanish and my English is not very good, I'm sorry but I need your help.
I want to connect two computers (my desktop and my handbook) with the serial port (COM2 in both sides).
I have the cable.
I have installed JBuilder 7 in both computers.
I have installed "commapi"
I'm running SimpleWrite.java (the example from Sun) in one of them and SimpleRead.java in the other.
I don't get in any moment receive any data.
I execute first SimpleRead and I can see what this process is waiting something. After, I execute SimpleWrite (many times), this process star and stop correctly but never the first aplication receives nothing.
I am trying for four days, I am desespereted.
I need your help is very important to me. I don't understand what is happening!!!!. This is my e-mail: [email protected]
Thank you very much.
NOTE: my handbook has just one serial port, before had a winmodem but it was eliminated.

hi,
when your notebook has only one port, how do u know that this port is COM2? I think u gave a wrong parameter for the SimpleReader or SimpleWriter so one send data to a port (say COM1) but the other receives data from another port (say COM2).
regards,
eedych

Similar Messages

  • Problems with the USB Ports

    Hi there,
    I writing this because I'm having some really big problems with my USB ports.
    A few days ago I plugged in an USB-Hub that was quite cheap. Suddenly a window popped up saying that a USB device was deactivated because it "needed" to much power. Since this happening, two of those windows keep popping up everytime I boot the MacBook. I called Apple and got some help: I had to delete some .plist files and clear some caches. The man who helped was able to find the error and deactivate the notification, he also told me to make a PRAM- and a SMC-reset. The man said that it's just a software problem and that I have to reinstall the system if we don't find a solution. So, one day later I reinstalled the system (Lion) and not only didn't it help, the two notification windows were popping up again...everytime I booted the Mac. So I decided to formate the whole hard drive and install Snow Leopard -> still the problem with the USB ports. After that I installed Lion  -> still the problem with the USB ports. I even tried to extract the .kext files that are important for the USB functionality from an earlier Combo Update, but it didn't help either. The point is, that the Mac doesn't recognize my external hard drive or any of my iDevices. Sometimes it recognizes USB sticks, but only after 20 seconds. The data transfer on both USB ports is also very slow. If I'm lucky and Mac recognizes one of my USB sticks, it takes like an hour for 1GB to be transfered on the USB stick or from the USB sticks to the Mac.
    I really don't know what to do and need help, especially because my backup data is on my external hard drive which I can't access because of this problem.
    I really hope that someone can help me, I'm very thankful for every answer that could help me!
    PS: Sorry for my bad English, I hope that everyone understands what I mean, please tell me if you don't get what I'm trying to explain in the text above.
    Sincerely,
    iLoud
    [UPDATE] I downloaded "USB Prober" and copied the Output file, maybe it helps:
    Timestamp Lvl            Message
        0.698 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7316), outstandingIO(0), _interruptReadPending(false) - rearming read
        0.698 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        0.735 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        0.735 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        0.735 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        0.739 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        0.739 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        0.761 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7320), outstandingIO(0), _interruptReadPending(false) - rearming read
        0.761 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        0.798 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        0.798 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        0.798 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        0.801 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        0.801 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        0.823 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7324), outstandingIO(0), _interruptReadPending(false) - rearming read
        0.823 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        0.860 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        0.860 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        0.860 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        0.863 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        0.863 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        0.885 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7328), outstandingIO(0), _interruptReadPending(false) - rearming read
        0.885 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        0.922 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        0.922 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        0.922 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        0.926 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        0.926 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        0.947 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7332), outstandingIO(0), _interruptReadPending(false) - rearming read
        0.947 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        0.984 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        0.984 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        0.984 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        0.987 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        0.987 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        1.009 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7336), outstandingIO(0), _interruptReadPending(false) - rearming read
        1.009 [3]          AppleUSBUHCI[0x4f97000]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x5073080) from dmaCommand (0x506a100)
        1.045 [3]          AppleUSBUHCI[0x4f97000]::UIMAbortEndpoint - endpoint 1:1,1
        1.045 [3]          AppleUSBUHCI[0x4f97000]::RHAbortEndpoint - Interrupt pipe -  noting status change
        1.045 [3]          AppleUSBHub[0x5076c00]::InterruptReadHandler error kIOReturnAborted (expected)
        1.049 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - Host controller resume detected - calling EnsureUsability
        1.049 [2]          AppleUSBUHCI[0x4f97000]::HandleInterrupt - deferring further processing until we are running again
        1.071 [3]          AppleUSBHub[0x5076c00]::DecrementOutstandingIO(7340), outstandingIO(0), _interruptReadPending(false) - rearming read

    Oh, sorry, I meant "I'm writing this...".

  • Pb with the serial port

    hello
    I'm making a programme that deal with the serial port
    when i press on the button sennd of my serial device ,I get nothing .
    infact i have to press about 4 times to get the output
    I will get 4 outputs result at once
    I believe that my problem come from
    fluxLecture.readLine();I think that my machine is not sending the end of line
    what is strange that the "while" will stop but it wont execute the next line
    System.out.println("I'm ouside ");any idea ?????
    thank you in advance
    try {
                   fluxLecture =
                        new BufferedReader(
                             new InputStreamReader(serialPort.getInputStream()));
              } catch (IOException e) {
              }then somewere else in my class I use this
    public void serialEvent(SerialPortEvent event) {
              switch (event.getEventType()) {
                   case SerialPortEvent.BI :
                   case SerialPortEvent.OE :
                   case SerialPortEvent.FE :
                   case SerialPortEvent.PE :
                   case SerialPortEvent.CD :
                   case SerialPortEvent.CTS :
                   case SerialPortEvent.DSR :
                   case SerialPortEvent.RI :
                   case SerialPortEvent.OUTPUT_BUFFER_EMPTY :
                        break;
                   case SerialPortEvent.DATA_AVAILABLE :
                        try {
                                        while(fluxLecture.ready())
                                            result_output = result_output +" "+ (String) fluxLecture.readLine();
    System.out.println("I'm inside");
    System.out.println("I'm outside");

    sorry for being late but as I have alot of work ,so ......
    Are you using package RXTX or javax.comm?javax.comm
    I tried to chek if the readline is null ,the answer is no
    so my while stop but does not execute the next line
    strange ????

  • Is anyone else experiencing problems with the thunderbolt port on their Mac Mini's regarding using it to connect a second monitor? I've got the Mini Display Port to DVI-D adapter along with a DVI-D cable and I can't get an image on the second monitor.

    I had an dual display image / setup working twice for a few seconds, but then it cut out. I think there may be a problem with the thunderbolt port.

    As far as I can tell you have only listed that you have a DVI monitor connected to the Mini Displayport socket (i.e. the Thunderbolt socket) via presumably the Apple Mini Displayport to DVI adapter and a DVI to DVI cable.
    You don't appear to have listed what the second monitor is and how it is connected (even though not working). As such I cannot tell what may be wrong.

  • MOVED: Big problem with the bios

    This topic has been moved to BIOS.
    Big problem with the bios

    You're not alone... https://discussions.apple.com/thread/3391947?tstart=0

  • Establish a connection with the serial port on ST2510

    Hello guys,
    I have one question about connection on ST2510 with the serial port.
    Is it possible to get the following command prompt during connection on ST2510 through serial port (as described in the document 820-0015-11):
    "Enter password to access shell:"
    instead of
    "Enter password to access Service Interface (60 sec timeout):"
    ?

    stapler wrote:
    Thanks a lot,
    ...and how is it possible to get "Enter password to access shell:" instead of "Enter password to access Service Interface (60 sec timeout):" (wrong cable connection, etc.)?
    I ask about it, because one guy said me, that he tried to establish a connection according to the document 820-0015-11.
    But instead of "Enter password to access Service Interface (60 sec timeout):" he has got "Enter password to access shell:" and the default password kra16wen is incorrect.I won't indicate how to get "Enter password to access shell" because this is a special access as indicated in my previous post. However in order to get "Enter password to access Service Interface (60 sec timeout):" you need to press "S" (capital S) within 5 sec and then the password is "kra16wen".

  • I am having problems with the charging port of my iPhone, it is not bring recognised on my laptop and directly to an electrical socket. Please what should I do?

    I am having problems with the charging port of my iPhone, it is not bring recognised on my laptop and directly to an electrical socket. Please what should I do?

    Check that the LCI in the dock connector of the iPhone hasn't been set off as shown in the article below:
    http://support.apple.com/kb/ht3302
    Try a reset aswel:
    - hold the home button and sleep/wake button down for atleast 12 seconds
    - release both buttons as soon as you see the apple logo appear

  • Problems reading the serial port with labview 5.1.

    I open the example serial.vi , I select write to serial port, run the programm, I don`t have any problem. But when I select read serial port, I get the error code 16392and hex code error x4008. I need to know what can I do? Thanks a lot

    Any time you get an error in LV you can right click on the error cluster indicator and do a "Explain Error".
    If you do this for the error code you reported, the explanation says that it was a framing error.
    In serial communications, a framing error indicates that the hardware was not able to detect a start bit, data then the stop bits that comprise a frame.
    This prompts me to suggest that you check you port setting on the serial port. You want to make sure you are setting the port for the correct;
    Number of start/stop bits,
    Baud rate
    data bits
    parity (just for good measure)
    and hardware handshaking.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to communicate two PC's with the serial port with Netbeans

    Do you know how to do it?
    Do you know how to communicate with the parallel port too?
    Could you give some ideas?
    What commands or instructions I have to use?

    What does NetBeans have to do with it?
    All these "people" today that start out in Java using all these "nifty" IDE's. All it does is produce exactly this. They think their IDE is Java. Once they no longer have their one specific IDE in front of them, they can no longer function. They have no idea what the classpath, what the compiler actually does, how to package a jarfile, hell, most of the time, they don't even know how to execute a simple application.
    As far as your question. Did you even try to Google for some Serial port API package? Assuming you did, did you download it and read the documentation that comes with it? Did you search for a few examples on the web? Did you read them? Did you try them? I can almost guarantee that the answer to everyone of those questions is "no". So, my question for you is, "Why should we help you?" You obviously have no desire to help yourself, so I think we should reciprocate in kind. Don't you?

  • How can I control a HP 33120A waveform generator with the serial port of my PC?

    Hello,
    I want to control a HP 33120A waveform generator with my PC using the serial port. I don't have any idea about how to do it. If you've done it or if you know how I can do it, please give me some indications.
    Thanks
    Jean-Baptiste Paillet
    PS: I don`t have G PIB port

    The answer to your cross-post in the LabVIEW General group seems to be right on the money:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032200000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Regards,
    John Lum
    National Instruments

  • Anyone have a problem with the HDMI port suddenly not recognizing any digital source imput signal?

    I have an HP 2711x monitor. 
    Anyone suddenly have a problem with it no longer recognizing any digital source input with the HDMI port (or DVI), yet the VGA port works fine?
    Thanks.

    Hello Largelee,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are having issues with your HP 2711x Monitor not displaying HDMI or DVI inputs, yet it can display VGA inputs. Are these inputs all coming from the same device? Such as your computer? Does the computer's outputs show up on other devices via HDMI and DVI? If it works are you using the same cables? Are there any messages displayed on the monitors screen when you have the HDMI or DVI hooked up?
    Check to see if any of the documents below pertaining to the HP 2711x Monitor pertain to your issue:
    Flat Panel Monitor Displays Message about No Signal, Signal out of Range, Sleep, or Power Save
    'Input out of Range' Error After a Recovery or Upgrading to Windows 7
    Monitor is Blank
    Please respond with the answers to these questions so I can further assist you. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • How to control an Xserve G4 with the serial port

    I have an Xserve G4 first generation, and was wondering exactly how you would go about connecting to it via serial port incase I need to change something when there is a network issue. I have looked around the internet without much success. It has Leopard Server on it, so Apple says the baud rate is 56700, and 8bit, no parity. So that's all set in the client machine, which is a MacBook Pro with a USB to Serial adapter on it, which shows up in Zterm. Once I'm in Zterm, it just sits there, and pressing enter doesn't prompt a log in. Does anyone see what else I'm most likely missing?
    Thanks

    Thanks for the reply Cemelot. Yes, I did create a profile in ZTerm. This is what I have it set to.
    I also read that you're supposed to run the command "/usr/libexec/getty serial.57600 /dev/tty.serial" on the Xserve itself.  It made no difference if I did that or not. I also checked to make sure tty.serial was inside /dev/. Anything else I'm missing? Thanks again.

  • Problem with the output ports of the data service !!!!! attention

    Hi,
    I have created a functional module x using abap programming.
    The functional module x with  one input and one  output table.It successfully executed in abap.
    Later i activated and used it in  visual composer 7.1 .It worked perfectly fine.
    The input port displayed was :Hollow Diamond shape
    The output port displayed was: Filled Square shape.
    Then i thought of changing the abap program by adding one more input and one more output table.
    So i have two inputs and tow output tables.
    The abap program exceuted correctly.
    But when i used it in visual composer 7.1 . It didn't work.
    As
    The input port displayed was :Hollow Diamond shape ( correct )
    The output port displayed was: Filled circle shape.( Not a correct display ).
    So i couldn't drag the table output from the circled port.
    But When i test the data service then it gives perfect results.
    Later i created a new functional module Y with same  two inputs and same two output tables. It worked fine.
    Please help me . When ever i add new tables to already activated data service i face the same problem.
    Kindly advice.
    Regards
    Tekumalla

    Hi,
    Following is an image of a slide describing the port types in Visual Composer:
    http://img116.imageshack.us/img116/2465/portshapesrt7.png
    Which port is appearing on your service?
    Would it be possible for you to send a screen shot of your service in VC?
    Thanks,
       Shai

  • Problem with the USB ports

    The usb ports work, but when i start up my computer, occaisionally the mouse won't work.  I'll have to unplugg it from the usb port, wait ten seconds, and plug it back in and it'll work fine.  I was just wondering if anyone knows what might be the problem here. I'm on XP Pro, and i have the K7N2G-6570G-ILSR with the latest drivers installed.  thanks to anyone who can help
    -Merc

    I am having the same problem with my ADSL modem (speedtouch 330), and it is getting more worring as my initial modem has stopped working entirely  , and I have had to borrow one from a friend, but it is starting to do it as well. 
    So help is required asap, before it fails althogether.
    Marc U.

  • Lion: big problems with the network!

    Since updating to Lion, I am experiencing difficulties with the network. My Kyocera task alfa 2500 cannot communicate properly with the Mac: it does print but cannot send scan to the Mac, it is just impossible for the printer/scanner to find the Mac. I hear it could be a problem with FTP which is not supported by the new OS Lion. How can I solve the problem?? Or is Apple going to resolve this problem????

    Well, the problem relates to the Rosetta program eliminated by Apple in the Lion OS. When you try to rum the KM Scan to Mac.app you get:
    "You can't open the application KM Scan to
    Mac.app because PowerPC applications
    are no longer supported."
    So, I guess we (I encountered the same problem) will either have to wait out Kyocera-Mita for a scanner driver app, attempt write a new KM Scan to Mac.app for the Intel Macs; wait for somebody else to WRITE a new KM Scan to Mac.app for Intel Macs or just ***** about it.
    Not a rosey situation.

Maybe you are looking for

  • HT201269 how do you add a device to your i tunes account.  I have entered my info but it is not showing up

    restored the from from back up but no apps will show up.  go to the app and it does not show any purchased apps.  all the information for the itunes store is correct and the icloud.  I log in and looked in the account and my device is not sowing up. 

  • Bursting to WebDAV problem

    Hello, I'm trying BI Publisher's (10.1.3.4) bursting functionality. The generated documents need to be delivered over WebDAV (in the real scenario to Oracle UCM but in my test cases I'm using Jackrabbit WebDAV server). Finally got everything to work

  • Archivelink   (archive spool documents)

    Hi  experts , We  want  to  archive  spool  request  . Spool request can be divided into two documents categories  Outgoing documents and  print list . Outgoing documents (PDF , OTF) are created using the SAP word processing system (sapscript or smar

  • CLOB vs NCLOB

    Hi Everyone, Would should be the deciding factor to choose between using a CLOB or NCLOB. Thank you

  • *MUST READ!!!* HOW NOT TO ERASE YOUR FILES WHEN SYNCING ON A NEW COMPUTER

    Oh my GOD!! This is the biggest breakthrough since the discovery of fire. Ever have a time when you had to erase ALL your files on your ipod/iphone/ipad because you are changing computers or your computer was destroyed? There is a  solution. ****This