Menu

CNxx Port names and C#

Help
Oscar
2008-09-29
2013-05-20
  • Oscar

    Oscar - 2008-09-29

    Is there any way to open the CNCAx/CNBx ports in C#?, of course without changing their names.

    I am using the SerialPort Class and its method SerialPort.Open() throw the ArgumentException : "The given port name does not start with COM/com or does not resolve to a valid serial port."

    Also add "\\.\" to the port name then throw the  ArgumentException : "The port name cannot start with '\'."

    By the way the GetPortNames method list the usual CNCAx/CNCBx port names.

    thanks
    Oscar

     
    • r l

      r l - 2009-03-09

      rename the CNxx ports to COMxx ports and it works.
      at least it did it for me with vb.net 2005

       

Log in to post a comment.