Menu

#16 Using com0com with RealTerm

v1.0 (example)
open
nobody
RealTerm (1)
5
2017-06-11
2015-05-12
Lukasz
No

Hello there,
I have just downloaded com0com in version 2.2.2.2 (because of the drivers signing). The problem is that I cannot find the com port pair in any other program than putty, as I can manually type CNCA0 and CNCB0 there. Is there a way to name the ports COMX and COMY so for example TeraTerm and RealTerm would see them?

Discussion

  • Simon Bridger

    Simon Bridger - 2015-06-05

    {11June17} Realterm V3.0.0.32+ lets you use windows createfile names for un-numbered ports.
    This should let you connect to CNCA0 by giving port as e.g. "\\.\CNCA0"
    This has been specifically added for com0com users, hopefully it works.

    FYI, Realterm currently looks in registry to find ports and friendly names in HKLM
    HKLM\HARDWARE\DEVICEMAP\SERIALCOMM

    Check this and see if your ports are listed.
    IF they are, and Realterm is not parsing them,
    THEN raise a bug ticket at Realterm
    ELSE IF they are not there,
    THEN can you find them somewhere else in the registry or some other method to find?
    THEN raise a feature request to add this to Realterms COMPORTFINDER
    ELSE Can you find these ports by trying to open them and succeed / fail.
    THEN raise feature request to restore PopulateComportsBySearch in Realterm

     

    Last edit: Simon Bridger 2017-06-11
  • Simon Bridger

    Simon Bridger - 2015-06-05

    ExhaustiveSearch has been added to Realterm 3.0.0.28

    with com0com V3 installed, the com# pair was created automatically as long as you left the com# option checked.
    They are found in the registry, and Realterm works with them perfectly
    66 = \com0com21
    65 = \com0com11

    the cnc pair don't seem to have com numbers, and exhaustive search does not find them.
    Realterm opens ports by com number not name string, so it can't open them unless they have a port#


    The com0com readme says this:
    Q. Is it possible to change the names CNCA0 and CNCB0 to COM8 and COM9?
    A. Yes, it's possible. To change the names:

    1. Launch the Setup Command Prompt shortcut.
    2. Enter the change commands, for example:

      command> change CNCA0 PortName=COM8
      command> change CNCB0 PortName=COM9

    Alternatively you can set names to 'COM#', for example:

      command> change CNCA0 PortName=COM#
      command> change CNCB0 PortName=COM#
    

    If parameter 'PortName=COM#' is used then the Ports class installer will be
    invoked to set the real port name. The Ports class installer selects the COM
    port number and sets the real port name to COM<n>, where <n> is the selected
    port number. After installing the Ports class port you can use the list
    command to get the real port name and the parameter RealPortName=COM<n> to
    change the real port name, for example:

      command> list
             CNCA0 PortName=COM#,RealPortName=COM3
             CNCB0 PortName=COM#,RealPortName=COM4
      command> change CNCA0 RealPortName=COM8
      command> change CNCB0 RealPortName=COM9
      command> list
             CNCA0 PortName=COM#,RealPortName=COM8
             CNCB0 PortName=COM#,RealPortName=COM9
    
     
    • Lukasz

      Lukasz - 2015-06-05

      Thank you for the info. The problem is that I am not able to install the
      version 3 drivers because of the signing problem. I am in test mode and
      even though they didnt want to work for me.

       
      • Lukasz

        Lukasz - 2015-06-05

        Hello, I was able to turn on the test mode properly. Now With version 3
        I see the com ports as well as cnc ports and I am able to use the com
        ones in real term. Thank you for help.

         
  • Simon Bridger

    Simon Bridger - 2017-06-11

    Realterm V3.0.0.32+ lets you use windows createfile names for un-numbered ports.
    This should let you connect to CNCA0 by giving port as e.g. "\\.\CNCA0"
    This has been specifically added for com0com users, hopefully it works.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.