Error opening serial port

Forum Home Forums Communicating with Devices Error opening serial port

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7107

    it report error when open a virtual Serial device(COM17). the serial port named as “Oray virtual serial device(COM17)” that we could see on the Device Manager.

    error as follow:
    2020-08-06 19:26:35 Open serial port COM17
    2020-08-06 19:26:35 Error starting communication channel: Error opening serial port: 给定的端口名称未以 COM/com 开头或未解析为有效的串行端口。


    You should check this thread.

    May be this cause:

    I had exactly the same problem. I found that I had a windows printer setup to use the same port. As soon as I changed the port in the printers settings, the SerialPort.Open() worked.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.