I am trying send data to a serial device and I need to send a ready to send command (RTS) and then wait for a clear to send command (CTS) .
The help isn't clear on the process. I have add these two items to the serial port set - Serial.RTSEnable = True and Serial.CTSHandshaking = True
here is the code:
Serial.BitRate = 9600 'baud rate
Serial.CommPort = 1
Serial.Timeout = 500
Serial.MaxInputLen = 300
Serial.RTSEnable = True
Serial.CTSHandshaking = True
Serial.EnableOnComm = True
Serial.PortOpen = True
My question is= How do I send a RTS to the serial device and how will I know when the device has sent me a CTS signal.
Thanks for any help
The help isn't clear on the process. I have add these two items to the serial port set - Serial.RTSEnable = True and Serial.CTSHandshaking = True
here is the code:
Serial.BitRate = 9600 'baud rate
Serial.CommPort = 1
Serial.Timeout = 500
Serial.MaxInputLen = 300
Serial.RTSEnable = True
Serial.CTSHandshaking = True
Serial.EnableOnComm = True
Serial.PortOpen = True
My question is= How do I send a RTS to the serial device and how will I know when the device has sent me a CTS signal.
Thanks for any help