Home > Back-end >  Using Delphi mscomm controls
Using Delphi mscomm controls

Time:09-30

Send instructions set, specifies the length, MSComm1. RThreshold, send the command, the receive buffer zone length less than MSComm1. RThreshold, trigger does not receive events, then could not close the port, execute MSComm1. PortOpen:=false; Invalid, excuse me each master how to deal with?

CodePudding user response:

Close a serial port has nothing to do with whether there is content in the buffer zone is the
Even if you had been receiving data can also be closed
Should be caused by other reasons

CodePudding user response:

reference 1st floor seleron response:
close serial port has nothing to do with whether there is content in the buffer zone is the
Even if you had been receiving data can also be closed
Should be other reasons cause


Receive timeout interrupt, then send instruction does not perform

CodePudding user response:

refer to the second floor GZYSM response:
Quote: refer to 1st floor seleron response:

Close a serial port has nothing to do with whether there is content in the buffer zone is the
Even if you had been receiving data can also be closed
Should be other reasons cause


Receive timeout interrupt, then send instruction does not perform ah


How can accept overtime?
If it is accepted by the buffer to the content of the RThreshold when the length of the set, should be have been accumulated, until the length after exactly RThreshold oncomm event

CodePudding user response:

Thread not over? Used MSComm, don't know its internal structure,
  • Related