About creating a virtual serial port

Hi all,
Anyone knows if exists some API that's possible create a virtual serial port on Windows XP?
Thanks,
Vivian

Anyone knows if exists some API that's possible
ible create a virtual serial port on Windows XP?It might exist, but not in Java.

Similar Messages

  • Virtual serial ports

    Hi,
    I am searching for an application to create virtual serial ports without any knowledge in computer programing.
    I browsed the internet without success. I found many apps for Windows or Linux but none for Mac OS.
    Any idea about that ? Thanks for anwer... JPB

    Some links that might help (or not)
    http://blog.philippklaus.de/2011/08/make-rs232-serial-devices-accessible-via-eth ernet/
    http://hintsforums.macworld.com/showthread.php?t=90008
    http://pbxbook.com/other/mac-tty.html
    http://daemonforums.org/showthread.php?t=634
    Note: Several solutions for the Mac use a tool called socat (some of the links above talk about this).
    The following may incur a cost
    http://www.get-console.com/airconsole/
    Get-Console have a hardware device - effectively a standard Serial port server but they also have a driver package for the Mac which allows using a virtual serial port on the Mac to talk to their serial port server. You could try their driver with your software, but if that fails you could consider their hardware as well.

  • Virtual serial port??? Vista 64 bit, usb dongle, palm 755p verizon

    I have a new 64 bit Vista OS and I'm having all the same problems everyone else is.  I can't hotsync using the cable.  I purchased the bluetooth dongle (Kensington) that many have said works.  My phone recognizes the PC.  My instructions on the phone for the hot sync using bluetooth instructs me to set up a virtual serial port.  The instructions are not very clear.  This is where it falls apart for me.  Can anyone explain how to set up this virtual serial port?  Thanks.
    Post relates to: Treo 755p (Sprint)
    This question was solved.
    View Solution.

    Well I'm happy to report a successful solution.  At the recommendation of some other threads I went out and bout and ioGear GBU321 USB Bluetooth adapter and setup was a breeze and it works (although it is SLOOOOOOW compared to a cable hookup, allow some time and plug your treo in during your first sync).
    To setup you do the following (And this may also work for your Kensington):
    Insert the driver CD
    Insert the dongle when asked.
    Install the drivers
    Pair your device.  Basically go to the Bluetooth setup screen on the Palm and select "Trusted Devices".  You'll find the bluetooth adapter, select it and then either the palm or the PC will either provide or ask for a paring code.  The instructions will guide you through but basically you'll want to make sure the same numbers are entered on both screens (this prevents you from accidentally pairing with some random nearby computer)
    This will actually set up your virtual port for you. 
    You then go into the hotsync manager and click "serial" and select the port just created from the pairing process. 
    If you don't know what port was created bring up "Control Panels" and select "Phone and Modem" (Assuming you are in "Classic View").
    Click on the modem tag and you'll see something like "Standard Modem Over Bluetooth Link" and next to it will be the assigned port.
    I hope that helps.  I know I was relieved to not have to trash either my Palm or my PC (Although when the Pre or an iPhone with a physical keyboard comes out all bets are off)
    Post relates to: Treo 755p (Verizon)

  • Is it possible to create a virtual TCP port and send data to it?

    Is it possible to create a virtual TCP port and send data to it?
    My application is this:   I am reading a constant stream of waveform data from a device via a LabVIEW VI set and I need to get that streaming data to a .NET application.  I can poll a TCP port in .NET easily so is there a way I can create a virtual TCP port in LabVIEW and send the data there?

    Have a look at the example called simple data server and simple data client and see what you can get from that. I'm not really familiar with TCP myself.
    Joe.
    "NOTHING IS EVER EASY"

  • Windows Kernel Debbuging: Debug over virtual serial port with WDK 8.1

    I'm currently having some issues doing kernel debugging of a Windows 7 x64 target from my Windows 8.1 x64 host machine. I'm running Visual Studio 2013 with WDK 8.1 on my host and have provisioned my target machine running in VMWare.
    Here are my configurations for the target machine. It was configured by reading mostly from here - http://www.codeproject.com/Tips/545835/Kernel-Mode-Debugging-in-a-VM-using-Visual-Studio :
        Windows 7 x64
        Serial port COM2 with VMWare with name \\.\pipe\com2. All proper options in VMWare are checked
        Debug flag for OS enabled through msconfig. Debug port is COM2 running at 115200 baud.
        I ran the test target client "WDK Test Target Setup x64-x64_en-us.exe" on the machine before provisioning the computer
    I was able to provision the computer properly -- it created the WDK Remove User account. However, I'm running into some issues actually debugging. Below are the steps
        Launch the Windows 7 x64 target image in VMWare and wait on the boot menu
        In Visual Studio (host machine), go to Debug -> Attach to process -> Select my computer -> Select process "Kernel" -> Attach
        In VMWare, press enter to boot Windows
        It takes a while, but on my host machine, Visual Studio eventually connects. I can choose to "Break All" and actually use the debugger.
    However, I can't seem to connect to the debugger if I don't do it before booting the kernel. And I can only attach once. For example, I can't let Windows initialize to the desktop and then build my driver and begin debugging. The debugger will always hang on
    "Waiting to reconnect...". The same goes for if I begin debugging on kernel initialization, decide to stop debugging, then try to reconnect or reattach; it will hang on "Waiting to reconnect..." indefinitely as well.

    Follow the directions here: https://msdn.microsoft.com/en-us/library/windows/hardware/jj200334%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    You are using user mode debug setup menus, that won't work.
    Mark Roddy Windows Driver and OS consultant www.hollistech.com

  • Javacomm serial port created after JVM started

    Hello all,
    I am playing with bluetooth and Java for a project and have run into a brick wall.
    My bluetooth adaptor (USB) uses rfcomm to create a virtual serial port to my phone.
    After exhaustive searching, I have not been able to find a Java API for a usb bluetooth dongle that will do this so I am having to use Runtime.exec to shell the program that will create the connection.
    The device that is created is /dev/rfcomm0, and I have created a symlink from /dev/ttyS1 to this so JavaComm can see this as /dev/rfcomm0 is not considered valid (I only have one com port in my PC so ttyS1 does not normally exist).
    When Java is started, /dev/ttyS1 does not exist (using the javacom to access it throws a NoSuchPortException) - this is expected. The problem is once the port is created, I still get the same exception. I can confirm that the port has been created sucessfully as minicom is able to communicate with the phone.
    I have tried putting the javacomm code in a new class, and creating a new instance of this class once the port does exist, but this does not work. I have also used the enumerator to check all ports that are known and /dev/ttyS1 does not appear in the list.
    If i run the command to create the port in a console before starting java then everything works althought this is obviously not acceptable as a final solution.
    Does anyone have any thoughts / suggestions what might help fix this?
    Cheers,
    -Jeff

    Morning,
    don't try to get the JavaComm class loaded before the rfcomm process has finished.Unfortunatly the rfcomm process will not terminate whilst the port is open, which makes things much harder.
    Here are some code snippets, the connect method is called as soon as I start my java program. It starts a thread which invokes the rfcomm commands. If the process terminates immediatly (p.waitFor() only waits a moment) then the connection has not been made, and runState is set to -1 which terminates the while loop in connect() and returns false.
    If the connection is made sucessfully, the process doesn't terminate, so the only way for the connect() method to return is if validPort returns true.
    The portListener class is the only one that uses javax.comm, and each time I call it I create a new instance - which I presume would re-scan for avaliable serial ports.
    If the serial port is not avaliable, an exception is thrown, so it returns false, if no exception is thrown it returns true.
    BTDevice.java
    public boolean connect(String addr)
    runState = 0;
    address = addr;
    start();
    while (runState == 0)
    if ((pl = new PortListener(serialPort)).validPort())
    runState = 1;
    return runState == 1;
    public void run()
    String s="";
    try
    p = Runtime.getRuntime().exec("/usr/bin/rfcomm connect rfcomm0 " + address);
    p.waitFor();
    catch (Exception e){}
    runState = -1;
    PortListener.java
    public boolean validPort()
    try
    CommPortIdentifier.getPortIdentifier(serialPort);
    return true;
    catch (Exception e)
    return false;
    Unfortunatly this does not happen, and even once the connection is made, validPort still returns false, as a NoSuchPort exception is thrown.
    However, if I put in a Thread.sleep(60000); between the start() and while (...) in connect() - so the first time an instance of PortListener is created the port does definatly exist - everything is fine.
    This must mean that as soon as javax.comm is initialised for the first time within a JVM, it stores all the known ports etc. so any other time it is used (even within a new instance of a class) it uses what it found out the first time and doesn't scan for new ports.
    I do not want to leave in Thread.sleep(...) as the connection time can vary, if the phone is set to auto-connect it takes 2-3 seconds, if it isn't it can take 15 seconds before the user looks at the phone.
    Any thoughts on how to make it re-scan for avaliable ports?
    Cheers,
    -Jeff

  • Using USB device with Virtual Com port

    I have an actisys IR USB device that creates a virtual serial port. I can read from it using VISA, however it will not write. I have the same setup working on LV 6.1 running windows 2000. I need to make it work on my system running XP and LV 7.1.

    Hello,
    Does your Windows 2000/LabVIEW 6.1 system work correctly or do you see the same behavior?  It sounds like there may be something wrong with the termination of the command.  What termination method are you using?  Is your instrument set for that method?  You may also want to try using the NI-488.2 Interactive Control.  A tutorial on how to use it is located here if needed.  This will bypass VISA and LabVIEW.  If this works, you may want to update to the latest version of VISA (if you don't already have it) to see if that fixes the issue.
    Chris R.
    Chris R.
    Applications Engineer
    National Instruments

  • Unable to create the bluetooth virtual COM port

    Hi all
    I install BS from Toshiba and it seems ok. Bt ir desn´t work. I see all the drivers installed, system devices, etc. No Toshiba BT ports can be seen. Local com ports only show modem port. Try to create a virtual port but get a message "unable to create a bluetooh virtual port" I have a satellite m100-145. Can anyone help on this ?
    thx

    Thx for your suport.
    I decide to reinstall windows and all software. Now it works.
    The error was due to the fact that if you have BS from Microsoft (called bluetooth monitor) and you install the BS from Toshiba after that, even if you remove the BS from MS, the BS from Tos is unable to create the virtual com ports (except modem).
    I try with the latest version of BS and the problem was not solved. So if there is a previous installation of BS fom MS the BS from Tos get the message of "unable to create the bluetooth virtual com port".
    Now i fixed reinstalling SO from beginning.

  • PCI Serial Port error

    the computer says it is disabled, and when i try to reinstall or fix the problem through the options, nothing works.  what do i do?

    Is this WIndows 7?  There is something about the Intel security drivers and WIndows 7 that crates problem virtual serial ports. I just remember seeing something about it.
    T61p, T400
    formerly x23, x40

  • Creating a virtual private network?

    I've been reading some articles recently about creating a virtual private network for security and privacy reasons. Is it easy and is it a good thing to do?
    One part mentioned possibly having to pay a subscription for this service with your service provider? Would I have to with sky?

    If you regularly have the need to remotely access another machine which is at a different geographic location, VPN is a great idea. It can be difficult to set up, and requires network hardware support. For example, you either need to have a VPN gateway device (such as a Netgear FVS114 - check for them on eBay), which acts as the VPN endpoint, or you need to run a VPN server on your Mac and your gateway must allow VPN passthrough traffic. I'd generally recommend the first option, although it can be more expensive.
    You also need VPN client software running on the Mac you use to access your network. I recommend the free IPSecuritas. There's also VPN Tracker, which is very user friendly but does come at a price.
    Matt

  • Disable/enable the serial port

    Hello All,
    I am using Labview to communicate with a Microchip PIC virtual serial port. Ocassionally the serial comms is lost. To recover the connection I open Device Manager then right click the faulty comm port then select disable ( a red cross appears on the icon). Next right click the port again and select enable. The port now communicates correctly again.
    Is there a way to use System Exec to drive this behavior automatically once a fault occurs or some other method to drive DM using methods and properties?
    Many Thanks
    Chris
    Solved!
    Go to Solution.

    Thanks for that, I am surprised at how simple it is to use DevCon however I still dont understand why cant I detect when the serial port fails.
    Excellent workaround though

  • I didn't find any log in the event viewer about creating new VM.

    Dears ,
    I'd like to find a log in the event logs about creating  new Virtual machine   , please check  with us.

    Hi Ramy,
    Sorry for the mistake , I'm using 2012R2 and I have the event ID 13002 .
    Now I realize you are using 2012 not R2 , so I found a 2012 host to verify that ... you are right .
    Best Regards
    Elton Ji 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • COMMAPI freeing serial port

    I have a question about Java commapi and serial ports. In my application I call close on a SerialPort object and associated input/outputstreams. Later on I try to open the port again by calling open on a CommPortIdentifier object and I get a RuntimeException with message "Device busy". If I close the application and start it again, the serial port is opened without problems. My question is should I do something more when closing the port to free it?
    Code that tries to close the port:
    inStream.close(); //inputstream
    outStream.close(); //outputstream
    inStream=null;
    outStream=null;
    port.close(); //SerialPort
    port.removeEventListener();
    port=null;My platform is Sparc Solaris 10.
    Thanking you in advance,
    Anguinus

    I know this is a very old post, but google came up with it after searching for ttyUSB0 and java, so I thought I'd chip in the solution so that other people arriving here might benefit :)
    The trick is to go into javax.comm.properties and add the ttyUSB0 to the list of serial ports:
    # Implementation specific driver
    driver=com.sun.comm.LinuxDriver
    # Paths to server-side serial port devices
    serpath0 = /dev/ttyS0
    serpath1 = /dev/ttyS1
    serpath2 = /dev/ttyUSB0               # <--- added ttyUSB0
    # Paths to server-side parallel port devices
    parpath0 = /dev/parport0
    parpath1 = /dev/parport1Works fine for me

  • Virtual Serial Driver

    Hi,
    I am trying to establish the temperature in an enclosure using ICP-DAS modules. Those modules are at school so in order to work from home I intend to use a virtual serial port driver. I've download Virtual Serial Port Driver 7.1 and Advanced Serial Port Terminal 6 by Eltima Software but unfortunately although I've opened COM1 and I've wrote some data to be send my CVI application encounters the error port not opened. Has anyone used the virtual port simulator? are there any additional settings?
    Thanks

    Um... Eric, we are in CVI board, here 
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Serial port doesn't close properly

    I'm working with the RXTX comm APi to connect a java application (jdk 1.5) with a mikrocontroller via a virtual serial port (using WinXP). I'm only jumping to certain addresses of the controller and then write into or read from them.
    After some tricky problems that were already discussed in this forum I now encountered a new one:
    After I finished my communication with the controller, I want to make a clean shutdown by closing the input- and outputStream, removing the SerialEventListener and finally closing the serialPort.
    When I'm doing the latter, the program suddenly hangs totally. No exception is thrown and I have to terminate the application through the ide.
    I monitor all the port traffic with "portmon" from sysinternals and it tells me that around 5 minutes after I tried to close the port, the javaw-process finally sends "IRP_MJ_CLEANUP" and "IRP_MJ_CLOSE".
    Sometimes only the first one is sent, what makes it impossible to connect to the port again without a restart of windows (port in use by unkown application).
    I don't have the sourcecode right with me now, so I can't post some examples. However I'm basically doing nothing else then most of the other sourcecodes concerning serial port connections posted in this forum. Anyway I will post some code later.
    But for now, has anybody some ideas what could be the problem?
    ********* EDIT **********
    Seems that it's not necessary to post my sourcecode because the same problem occures when I'm running the SerialDemo from the javax.comm 2.0 API.

    Here's an update.  The serial port works fine, as long as I don't have any I/O pci cards in the machine.  Both my Adaptec SCSI controller and a Pinnacle AV card cause the same malfunction with the serial port.  When those cards are removed, it works!  No conflicts with IRQ or anything that I can see.....no errors reported by windows device manager.
    P

Maybe you are looking for

  • Is it possible to call a class method using pattern in ABAP editor.

    Hi,      Is it possible to call a class method using pattern in ABAP editor. Thank U for Ur time. Cheers, Sam

  • Viewing a pdf file in Flex 4?

    I've been searching on the Inernet to find out whether or not it is possible to view a PDF file (which will be stored in the server itself) on the client side... In the flex AIR they've a built in support to view a pdf file..but I'm not able to find

  • Find User Workflow

    Hi, I have a requirement of searching users from the end user menu, display search results, update teh fields and resources. The search is based on accountId. I have a form for this and on clicking search on the form, the WF gets called. The followin

  • How to sing in app store for free

    Kindly, kindly would u tell me how to to sing in App Store without visa or MasterCard , I mean for Free

  • Nebie to mac cant get cd drive to read disk

    hi i am new to macs got this used imac original i got it home and it booted up fine but when i put any disk in cd drive it runs for 2 seconds then a message pops up "this disk cant be read by this computer do u want to initionlize it ? then i click c