Home > Software engineering >  VB use MSCOMM can send data, but can't accept the data
VB use MSCOMM can send data, but can't accept the data

Time:09-21

VB use MSCOMM can send data, equipment also received data, but the devices send data to the VB, see data from serial port to monitor has been issued, but VB has not received data, see in listening RXCHAR TXEMPY CTS DSR RLSD BREAK ERR RING, and give a great god to give directions, point is what problem,

CodePudding user response:

How do you judge receiving data, oncomm event or InBufferCount?

CodePudding user response:

See if what baud rate, not right

CodePudding user response:

Mscomm is the event or receives data from the timer what query receiving data,

If receive inside is the event, to set up the trigger condition, the MSDN say more clear,

Can send data to eliminate the same baud rate, the matter of the agreement, the most simple test is a serial port 2 to 3 feet short, his hair, his charge, must be able to receive
  • Related