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.

Similar Messages

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

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Unable to capture data from Serial port using LVRT2010 in single core pentium 4 machine

    I am using application written in Labview using windows Labview
    Runtime environment 2010. Application creates a tunnel to intercept data from
    Serial port.
    My problem is, Currently, I am using single core Pentium
    processor. When I am trying to intercept the data between COM1 and COM7 (COM 7
    is a virtual port) it is not able to capture data.
    When I am running Labview RT environment using dual core
    processor machine it is running normally. I wonder whether it could be the compatibility issues with
    single core Pentium processor.

    Hi Magnetica
    Are both of the machines running the same runtime engine,
    drivers ect?
    Have you had RT applications running on this
    machine before?
    Is the development computer a 64bit machine?
    The processor is a supported model (See link below).
    http://zone.ni.com/devzone/cda/tut/p/id/8239
    Regards
    Robert
    National Instruments UK & Ireland

  • Serial Ports using HyperV in Ubuntu guest OS

    I need to run a terminal session (term) from within the guest OS, Ubuntu 12.04.3 LTS to a serial port on the Windows 8.1P host. In my case a USB to serial adapter that Windows has mapped to COM5.
    I don't really know where to start.  In HyperV, under Settings, I see a Com1 and Com2 under hardware. The two options are None or Named pipe.  Not all that clear what to do here.
    Presumably this is what will be visible to Ubuntu as  /dev/ttyXX   ??
    Can anyone point the way to map a serial port into Ubuntu?   Or a suitable workaround?
    Thanks.

    "How can a VM be so cut off from the hardware like that?"
    Well, for the most part, it's been a long time since I have even seen a machine with a serial port on it.  It is so uncommon that one generally needs to buy an add-on card or do something like USB to serial.  That trend has been going on for a
    long time - that's why network based serial devices have tended to the solution for this.  This is nothing new.  Even Microsoft's Virtual Server, the precursor to Hyper-V (which was released five years ago) did not have access to serial ports.
    Since you are asking in the Hyper-V forum, the answer is you can't get to a physical serial port on your host.
    .:|:.:|:. tim

  • J2ME in Pocket PC - sockets - serial port

    Hi Guys,
    I am writing a J2ME application for a Pocket PC using Windows Mobile 2003
    I have chosen the J9 VM to run my J2ME applications on the PPC.
    My application will use tcp/ip sockets communication to connect to a server. Do you know if there are any issues of using this part of J2ME on a Pocket PC?? ( I have tested the same application on Java enabled mobile phone and it is fine)
    I also want to access the serial port from my J2ME application (read/write data). Do you know if it is possible to do it on a Pocket PC through the normal way?? (using the javax.microedition.io package??)

    evelknievel you said that implemmented bluetooth
    connection like a serial link, where can i find some
    documentation to do that?i am sorry, that i cannot offer you a link to a tutorial, because i just tried it out by myself using an iPAQ h5550 with windows CE 4.2 (i think this is equivlent to PocketPC 2003, or 2003 SE) which is able to create such connections. the bluetooth-driver of each side of your "serial bluetooth link" has to implement the so called "serial port profile". maybe you should google for it...
    i found some information on this:
    "To open the connection using the:
    * PocketPC
    o Most Bluetooth drivers for PocketPC provide the mapping between Bluetooth serial ports and virtual COM (inbound/outbound) ports. For example WIDCOMM Bluetooth driver (BTW-CE 1.4) that comes with hp iPAQ h5550 by default assigns COM port 5 as the inbound Bluetooth serial port and COM port 8 as the outbound Bluetooth serial port. These COM ports are configurable from the driver's Bluetooth manager."
    i found it here:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/15987c8cb752ead786256dc20070b433?OpenDocument
    hopefully this information is useful to you or anybody else :)
    best regards
    evelknievel

  • HP Mini - Is there a serial port?

    On the HP Mini 110-1030NR, I need to use software that communicates through a serial port but the Mini does not show any serial ports. Is there any way to enable the serial port? I have looked in the BIOS and the Advanced section is not listed which is where the HP website support says to go to enable serial ports. Am I out of luck?
    Thanks-

    HI,
    DaleWA wrote:
    Sorry I mixed too many issues in the last message. 
    I think the simpler question is:  Can I use a USB to serial adapter with the HP Mini 110-1030NR?
    If so, how do I get it to work? I have installed the driver that came with the adapter. I know the adapter worked on an old Dell laptop. So, the issue must be the HP.
    Do you still have the manual that came with the adapter?
    Does the device show up in Device manager?
    which OS is installed on your mini?
    look under Device Manager of the System Properties screen.  (Go there by Start-Setting-Control Panel-System Properties-Hardware-Device Manager-Select View-Device by connection).
    The device should have installed as a “USB Serial Port (COMx)” attached to “USB High Speed Serial Converter”.
    Change COM Port Properties & COM Port Number
    This feature is particularly useful for programs, such as HyperTerminal, which only work with COM1 through COM4.  Please ensure that you do not change the COM Port Number already in use.
    To change the virtual COM port properties:
    Select the “USB Serial Port”
    Click “Properties”
    Select “Port Setting”
    Select “Advanced”
    Click the drop down arrow on COM Port Number and scroll to the required COM port.
    Select “OK”
    Return to the Device Manager Screen.  You will see that the USB Serial Port installation has been changed to the new COM Port Number.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Send DAQ measurement results through serial ports

    Hi, All
    I use PCI-6034E for measurement. After DAQ gets data, I send them to another computer through serial port (com1). I write a Virtual C++ program, which calls NI-DAQ library functions to implement DAQ data sampling (multiple channel scan) and sends measurement data to another computer through serial port under request. DAQ data sampling and serial communication are implemented in two threads. They are running concurrently. They share a global memory for measurement data. The serial communication thread will do infinite wait and send data only when another computer sends a request through serial port.
    I met two problems. First, when I reduce the size of DAQ measurement buffers (piBuffer and halfpiBuffer, I us
    edouble buffer model), DAQ measurement is often interrupted by the message "[DAQ_DB_HalfReady] returned NI-DAQ warning 10846. Your application was unable to retrive data from the background acquisition buffer fast enough so the unretrieved data was overwritten with new data. ...". I want to get run time data so I need to reduce the buffers as small as possible. How can I solve it ? The second problem is that the serial port gets error data (nothing) from measurement computer sometimes, especially when DAQ initializes itself and finishes work. It looks like that there is a conflict between DAQ and serial port. Does anyone have similar experience about this? Any suggestion?
    Thank you in advance.
    Le Cai

    Le Cai,
    You are correct that the number of scans to read is equal to half of the buffer in double buffer mode. I was mistaken and referring to a standard (non double buffered) operation. However, you can increase the size of your buffer without affecting the period of your acquisition. A buffer of 60 is quite small and, as such, will be more prone to overflow errors. The rate is actually set through the DAQ_Rate() and DAQ_Start() functions. For more information on these functions and how to configure the scan rate, please see the NI-DAQ Function Reference Manual.
    NI-DAQ Function Reference Manual for PC Compatibles
    http://digital.ni.com/manuals.nsf/websearch/1630A0B68738B269862567C1007A2912?OpenDocument&node=132100_US
    A good place to start would be the example titled, "DAQdoubleBuf.c" which ships with the NI-DAQ driver. If you installed the examples for Visual C++ when you installed the NI-DAQ driver you should be able to find this example in the \Program Files\National Instruments\NI-DAQ\Examples\VisualC\AI folder on your computer. This example would be a good template as it is very close to what you are trying to do.
    If you observe that you only receive the overflow error when you are operating the two threads, thus ruling out the buffer size as being a potential problem, you may want to examine whether or not your second thread is placing a lengthy exclusion on your data buffer during the period when your first thread is trying to move the data. If your first thread has to wait during the half-buffer transfer this could easily cause the overflow, as the acquisition would be running but the transfer would be paused. Instead of placing a mutual exclusion around one piece of global memory you could try using a queue instead. A queue approach will allow you to pass the data from the first thread into a queue to be read, when convenient, by the second thread. In this method the first thread would never have to wait as the transfer would just be a handoff.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Why is my HTML email showing up wrong in different email account?

    I've seen this before and I think it has to do with CSS (which I realize isn't supposed to be in emails), but I'm super new to this and have scoured the internet to find out exactly what I'm doing wrong and how to fix it. It shows up properly in my Y

  • Multiple BAM installations on the same machine?

    Hi guys, I have a customer with the following requirement: "We have installed BAM 10.1.3.3 with EL and upgraded to 10.1.3.4. It is currently using a remote database 10.2.0.3 in our test envt. We want to use the same Windows server for monitoring our

  • Browser doesn't display applets (classes)

    hi all, i am sure every beginner faced the same problem though i am not a beginner, i am facing this strange problem, and i can't figure out where the proble is . i just started developing simple swing applications. first i want to try the examples g

  • Two Extremes, Three Expresses: Want Best Coverage & Bandwidth

    My apologies in advance if this is a bit convoluted or poorly articulated, but here goes- I have two AirPort Extreme Base Stations-a newer 802.11n (AEBSn) and an older A1034 saucer model (AEBSg)-as well as three AirPort Express (AX) units. Each of th

  • Problems Installing Mountain Lion on Another Family Computer

    I purchased Mac OS X Mountain Lion and installed in on my personal laptop. I'm trying to install Mac OS X Mountain Lion on a family laptop that my wife and I jointly use - a Macbook Intel Core 2 Duo, 2.4 GHz, with 2 GB of memory, running OS 10.6.8. I