I am trying to use your control to communicate with scales via the serial port, but I am having problems where the OnComm event never seems to be fired.
I call the following code when the form loads:
.CommPort = "3"
.Settings = "9600,N,8,1"
.EofChar = 26
.EOFEnable = True
.InputLen = 0
.RTSEnable = True
.RThreshold = 1
.portopen = True
Any help would be much appreciated.
Posted on: Feb 6 2017 at 08:32:17 PM
Do you have the control on a form?
How sure are you that data has arrived in the receive buffer.
Just for debuggong. Place a button on the form that reads the data from the serial port. When you think the oncomm event should have been triggered click the button to see if there really is some data.
Reply - add a comment to this topic.
You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.