Computer serial port (com) is occupied question

Recent serial communication with the device.

This computer has a six COM ports, should be used.

There comes a Huawei 4G communication module that requires a virtual four COM ports.

 Before using Gost system (only a physical COM version), leading to physical COM port and COM port conflicts Huawei

Re-use pure version made a version of the system, to solve part of the problem, the program can be used normally.

But some computer COM port although no part of the conflict, but open when the program will prompt com1 does not exist or has been occupied

This I used to passively receiving the signal coming out of the mouth COM1, kept outside pass, I then received data analysis.

 The most strange thing is, when I'm not an external signal, the COM port is normal. But when I received the above when he frequently reminded COM port is occupied (with other serial debugging tools, too).

And when I transfer him to another COM port, as well. I was ignorant, I think the problem on this device when possible.

But when I put this to disable the COM1 port is enabled, in most cases the COM port back to normal.

This description is not caused by external devices, find a lot of online programs try. The following is more effective:

 

Guess you like

Origin www.cnblogs.com/ccsharppython/p/11713494.html