Home > Net >  PC programming c # how to open the virtual serial port?
PC programming c # how to open the virtual serial port?

Time:01-07

My laptop without a serial port, using a USB serial port, the device manager can see COM9, then drive is installed, now I am on board is a virtual serial port, follows the USB CDC agreement, so should you Open the actual physical with c # serial port, executable program code serialPort1. I Open (); Complains to the equipment in the system "no work",

CodePudding user response:

Before you write code, can use a serial port assistant can try connecting, ruled out the hardware and driver.

CodePudding user response:



Written in c + + serial assistants can I open the serial port; But written in c # serial assistants (all) can't open the serial port,
  •  Tags:  
  • C#
  • Related