ConnectionNotFoundException when connecting via serial port

Hi all
I have got a HttpConnection that looks like this
HttpConnection connection = (HttpConnection)Connector.open( "http://localhost:80/test/read.txt" );
InputStream inputstream = connection.openInputStream();
...The above codes work fine on the emulator, but when I wish to connect to the server via the device from the usb cable, it throws me an javax.microedition.io.ConnectionNotFoundException
I'm working on a SE W880i and is running the midlet from the Device Explorer...

Hi,
thanks for the response.
no, I can't login to the switch(es) at all. There seems to be no response from hyperterminal at all. (Then I noticed that the LEDs had gone "solid" and that everyone started to complain they had lost network connection!)
Even when I powered off and powered on the switch with the console port still connected, nothing appeared on the hyperterminal screen.
However, as mentioned, I'm able to connect to one of our spare switches using the same settings, same laptop, and same console cable - so I guess that would rule these things out as being the cause?
Its definitely a strange one, especially as it seems to be affecting all 3 of the live switches!

Similar Messages

  • Mac pro does not recognize ipad device when connected via usb port, suggestions?

    mac pro running os 10.6.8 does not recognize ipad device when connected via usb port, suggestions?  itunes 10.7

    Here's a troubleshooting assistant: http://www.apple.com/support/ipad/assistant/itunes/
    The most likely issue:  Have you plugged your iPad into a USB port that is not directly part of your MacBook Pro?

  • Process Name when we connect via Serial Port ,Its URGENT !!!

    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.
    For every connection we made, in Solaris it creates a process.So Can anyone tell me the name of the process when we connect serial cable??
    like USB connection /dev/usb0 or /dev/hiddev0 process is created..
    Thanks in Adavnce ...

    Sangyesh wrote:
    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.Outbound to a device, or inbound to a login shell or something else...?
    For every connection we made, in Solaris it creates a process.Are you talking about 'telnet' or 'ssh'? Those work differently from serial connections.
    So Can anyone tell me the name of the process when we connect serial cable??You might have a login listener if you configure it, otherwise, nothing is running.
    You need to provide more details about how you intend to use the serial cable. I can't tell from your post.
    Darren

  • Can no longer connect via serial port

    Hi all,
    I am an administrator for forty-eight Solaris servers scattered around the world, I have remote console connectivty via Cisco 2821 terminal servers. Recently all the devices were moved to new terminal servers but I can no longer get remote console connectivity to fourteen of them. Most of the servers just give a blank line. I have had the port and cable changed on two of them with no joy. One of the servers was local so I risked a reboot (didn't fancy rebooting one of the distant ones as hands-and-eyes support staff are difficult to get hold of and these are production boxes.). While connected via IP I attempted a reboot, after 20minutes of waiting I decided I'd have to connect directly with my laptop, when I connected the machine was waiting for an ilom login. After logging in and completing the boot the server was working fine and I could connect via the terminal server.
    The boxes are Sun 5220's and I am running Solaris 10.
    Any help would be greatfully received as I really don't fancy trying to reboot the other thirteen boxes with nobody onsite...
    Cheers,
    Mark T.

    Answered my own question:
    opened another terminal window and used the command killall ssh to abort the previous session.
    Still don't know why it won't login to my server.

  • Catalyst switch hangs when connecting via console port

    Hi,
    I've just started work for a company - they have no network documentation or knowledge of their current set-up whatsoever.
    For the LAN in the office they have Cisco Catalyst WS-C3524-XL switches. But it doesn't seem like these are even configured with an IP address for management purposes.
    So, I thought I would connect via a console cable to have a look at their configurations and also to investigate some performance problems some users were having on the LAN.
    BUT - when I connected to the console cable, all the switch LEDs stopped flickering happily and went solid and everyone in the office lost their network connectivity! (I wasn't popular!)
    Rebooting the switch with the console port still connected had no effect - the LEDs remained solid and there was no network connectivity. However, when I removed my console cable, everything started working again!
    Does anyone have any ideas a) what can have caused this and b) how I can resolve this problem and connect to the switches without disrupting all the other users!
    Note: I subsequently connected to a spare WS-C3524-XL switch using the same laptop and same console cable without any problems.

    Hi,
    thanks for the response.
    no, I can't login to the switch(es) at all. There seems to be no response from hyperterminal at all. (Then I noticed that the LEDs had gone "solid" and that everyone started to complain they had lost network connection!)
    Even when I powered off and powered on the switch with the console port still connected, nothing appeared on the hyperterminal screen.
    However, as mentioned, I'm able to connect to one of our spare switches using the same settings, same laptop, and same console cable - so I guess that would rule these things out as being the cause?
    Its definitely a strange one, especially as it seems to be affecting all 3 of the live switches!

  • Eurotherm 2704 connection via serial port with ModBus

    Hello guys,
    first some words about my problem:
    I have to develop a software which allows reading and writing the
    temperature (we have 3 Eurotherm 2704) (I think some of you know this problem yet ).
    I wrote already the program and it works, but I used "iTools OPC
    Server" for my program and it was the demo version (works only 30 minutes).
    The group doesn't want to pay for the iTools, I should solve this problem without
    iTools .
    In this forum I found out, that I can use the ModBus for it:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=468139&view=by_date_ascending&page=2
    I know, there are some similar threads here, but I am new with LabView
    and need some help.
    I downloaded one example “my modbus serial query.vi “
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=135288&view=by_date_ascending&page=2
    but it does not work (I am not really sure, what I have to change in the
    file)
    With OPC Server I found out:
    COM5
    Baud Rate 9600
    Parity: None
    Flow Control: None
    Data Bits: 8(RTU) (I can choose RTU, but where can I change to 8 bit ?! )
    And by other properties, I have no idea what I have to change there
    For Example
    Modbus Data Unit In (all read and write mode ? Which one do I need to read the temperature and to set the set temperature?)
    Modbus Command ?!!!
    No idea.
    I have folowing adresses (comms address 0x00030001, canonical address: 1)
    Which one do I need ?!
    I think if I get the signal from one temperature controller, I can do it for
    other, but my problem is now THIS one.
    Can you help me whit it ?
    Should I use a other example ?! Maybe do you know better one?
    Thank you, very much.
    Alexander

    Hello Putnam and Christian,
    I think the problem because you can not understand my question is my English, sorry
    I'll try it again: 
    @Christian:
    Thank you for the links, but I think all threads in NI Forum with topic "Help, Eurotherm 2704 ?" were written by me
    You understood my problem correctly.
    We have 3 temperature controllers and I have to develop a LabView program, which allows reading the temperature from the controllers. It should be possible to write the set temperature from LabView to temperature controller as well.
    The controllers are connected already (I think with RS485) and I can read/set the data from/to controllers (with “iTools OPC Server”), but I have to change my program so, that it works without “OPC Server”
    @Putnam:
    In the meantime I found out, why I got an error with  “my modbus serial query.vi” (the solution was very simple, I had to close the OPC-Server ). 
    It runs now and I try to understand now how the VI exactly works. 
    Maybe you can help me with it? 
    I try to explain what I understood, if something is wrong, tell my please: 
    The “my modbus serial query.vi” allows to read the multiple values (maximum 125 register) (default block read size is 125) from controller (I can see the data in the register array). In each register I have values for different variables. The Modbus address of Loop1 PV (I need this value) is known ( 00001, Eurotherm manual).
    Does it mean that the first element in the register-array is the value for the temperature from Loop 1 ?! (multiplicated by a factor, if it is correct, how can I find out this factor? It is linear?)
    And if I need the value of Loop2 (the address is 01025), I have to set the start address for example to 1000 and in this case the 25-th element in register-array is the value for PV Loop 2 ?! 
    I got this idea, after I left the laboratory and could not try it out. I can do it first at Monday, but I would know if it is correct what I think.
    If it is correct, I think I will able to change  “my modbus serial query.vi” on my own, that it works in my program.
    Or there is a better example/solution than “my modbus serial query.vi” ?!
    The other problem would be writing of temperature, but I will ask about it later . First temperature READING problem!!  
    Thank you! 
    Alexander.
    Message Edited by alexphysiker on 01-29-2010 05:30 PM

  • Connection to serial port via USB adapter- error -214722150​3

    I am trying to drive a stepper motor provided with possible Labview or VB programs. This motor is supposed to be connected via serial port, but the computer has not some, so I bought an USB adpater to connect my motor via USB. I am using the labview programs provided (Labview 8.0). The program cannot connect to the port and returns error -2147221503. Where may I find some help with that ?
    Thanks
    Attachments:
    error labview.JPG ‏234 KB

    I see references to 'Luminos'. Is this the provider of the stepper motor and LabVIEW code? If so, your first step should be to contact them. The whole VI is nothing but ActiveX properties and methods and the vendor would be the only one who knows what is going on.

  • Connection Siemens TC65 to PC via serial port

    I don't connect Siemens TC65 via serial port . How can I do this? How can I upload java code in tc65..
    Is there anyone to solve this problem?

    tajava
    Welcome to the forum. Please refrain from posting in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
    I also suggest you go through these links before posting again:
    [How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]
    [How To Get Good Answers To Your Questions|http://www.tek-tips.com/viewthread.cfm?qid=473997]
    I'm locking this thread now.
    db

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • T420 - external 24" monitor DVI- Displayport : not detected when connected via KVM switch

    Hi,
    I've been using a 2port USB KVM Switch from InLine for a long time connecting a mac mini and a macbook pro
    to a 24" LCD. Recently I had to replace the MacBookPro with a T420. Unfortunately the T420 does not detect the
    monitor, when connected via the KVM switch.
    I tried:
    A) T420 -> Lenovo Displayport to DVI-Adapter -> KVM-Switch -> 24" monitor: NO SUCCESS
    B) T420 -> Thinkpad miniDock Series 3 DVI Port-> KVM Seitch -> 24" monitor : NO SUCCESS
    C) T420 ->Thinkpad miniDock Series 3 DVI Port-> 24" monitor - > SUCCESS
    D) T420 ->Thinkpad miniDock Series 3 VGA Port -> 24" monitor - > SUCCESS
    So I have a workaround, but leaving out the KVM switch is not a long term option.
    This is all on Win 7 professional / 64bit
    Using config (A) I then installed the Intel HD Graphics Driver version 8.15.10.2342 16 May 2011
    SURPRISE: during driver install, the monitor WAS detected!!!
    SECOND SURPRISE: after reboot I was back in the old situation where the monitor was NOT DETECTED
    CONCLUSION:
    Seems like a software issue with the Intel HD Graphice driver.
    ANY HINT/COMMENT/HELP highly appreciated!
    Thanks,
    Michael

    hey mgold,
    as the T420 works correctly with the external monitor and with the miniDock ; it is sad to say the the KVM switch is non-compatible.
    I would recommend that you get in contact with the manufacturer of the KVM. At the same time, try uninstalling the current video drivers of your T420 and see if it makes any difference with the KVM if the T420 is running on a generic driver
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • Apple TV (1G) doesn't appear in devices list when connected via ethernet

    After upgrading to OS X Lion and iTunes 10.4 my Apple TV (1G) doesn't appear in the devices list when connected via ethernet. When I switch to wireless lan the device is shown and the sync process starts but can't copy the new films. The copy operation stops every time and sometines the device disappears from the list.
    Despite of the upgrading of OS X and iTunes all the settings are unchanged.
    Anyone an idea?

    Since my last update, I've gathered more information.  I'm almost certain this is not entirely a 10.7.1 issue, if an issue in 10.7.1 at all.  10.7.1 may have changed something that caused this issue to appear,but where I was having this problem weekly if not daily, I no longer have the problem. I changed routers.  I was using a new D-Link Xtreme N Gigabit RouterDIR-655.  This router was causing me pain with lock ups.  I replaced it with a Cisco Linksys E4200. I have not had a lockup in over 2 months now and not one sync issue with Apple TV nor my new iPhones, which sync wireless to iTunes on my Mac Pro.
    Thinking about how my network is wired leads me to believe the issue was in the router, or maybe a network communication change in 10.7.1 that the DIR-655 was not supporting correctly. My MacPro and a few other hardwired access points in my house go directly to the router.  My AppleTV and Airport Extreme are connected to a Gigabit switch and the Gigabit switch is then connected to the router. I also turn off the wireless capabilities in my routers, as I prefer to let my Airport Extreme handle those duties.  This all means my normal hardwired communication path from my Mac Pro to Apple TV was going through the router, to the switch, to the Airport Extreme and then to my AppleTV.  My Apple TV is connected to the LAN port on the Airport extreme. By going wireless on the MacPro, I was bypassing the router altogether.
    As I started out saying, since I replaced my router, my sync issues have also gone away. If your having Apple TV sync issues, you might want to look at the router as well.  Also, while I can’t remember the exact settings, I had opened up or enabled UPnP and other router settings in the DIR-655 to see if that would resolve the sync issues and it did not.  In the end, I just spent the money and bought a new router and life is good now.

  • RMI via serial port.

    I would like to use RMI via serial port.
    How can I do that?

    Thanks for the reply
    I can get it sending bytes of info from one machine to
    another but not to sure how I still send an object
    Wy do you think I should'nt be sending an object using
    rmiOK, if you have a setup working that involves writing bytes to an OutputStream at one end, and reading bytes from an InputStream at the other, then all you need to do is create an ObjectOutputStream at one end, and write the object to it.
        ObjectOutputStream oos = new ObjectOutputStream(myOutputStream);
        oos.writeObject(myObjectToSend);
        oos.close();and at the other end an ObjectInputStream:
        ObjectInputStream ois = new ObjectInputStream(myInputStream);
        MyObjectType myObjectToReceive = (MyObjectType) ois.readObject();
        ois.close();That should pretty much do it.
    The reason you should not be using RMI for this is that it relies on the existence of a netork layer that connects the two machines. PPP would have provided that, but there just doesn't seem a justification for that level of complexity here.
    Sylvia.

  • Users can only connect to RD farm website and cannot remote into terminal server , when connected via VPN

    Hello,
    I have a RD farm using 3 Win 2012 servers (1 broker and 2 session host), for internal use only, have not
    configured gateway for internet access.
    Users are able to connect to RD farm website and remote into terminal server, within office
    but can only connect to RD farm website and cannot remote into terminal server , when connected via VPN
    Its takes long time at securing connection and fails.
    Thanks

    Hi,
    Thank you for your posting in Windows Server Forum.
    First of all I would suggest you to configure RD gateway role on your server and pass all the connection through it because it’s a best practice to use RD Gateway in RDS Farm. 
    Apart from this, if you are not using RD Gateway then you must check that you have successfully forwarded port 3389 for RDS to access via VPN. Also check that you have made configuration under IIS Manager to enable Forms Authentication. Please check
    this link.
    In addition, please refer beneath article for additional details.
    1. How to Access Windows Remote Desktop Over the Internet
    2. Remote Desktop Services in Windows 2008 R2 – Part 3 – RD Web Access & RemoteApp
    (For reference)
    Hope it helps! 
    Thanks,
    Dharmesh

  • The iTune Remote App has stopped finding my iTunes library when connected to wifi from my main router, but works fine when connected via second wifi router on the same network (different SSID)

    I'm running iTunes Remote App from a couple of iPhone 5's and a first generation iPod Touch. iTunes is running on a PC - Windows 7. My home network runs two Wifi Routers, each with a different SSID. I've had no problems with the Remote app running this set up for the last 8 months but recently the App can only find my iTunes library when the iPhone/iPod is connected via one specific router, when connected to the network via the other router, no iTunes library is found. I'm also running an Apple TV and it's the same as the iTunes Library, only visible via the one SSID.
    Everything else seems to work fine when connected via either router, eg Internet on the iPhones (definitely via wifi)
    I've tried renewing the lease on the iPhone wifi connection, restarting everything.....several times.....
    It used to work fine, this only seems to have been a problem in recent weeks
    Any help or advice would be much appreciated
    Thanks
    Ian

    It turned out to be the firewall settings on our router. Her machine was sending traffic that our router interpreted as a DoS attack and blacklisted her Airport's MAC address. That's why it would work fine if she switched to Ethernet.

Maybe you are looking for