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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
rename the CNxx ports to COMxx ports and it works.
at least it did it for me with vb.net 2005