Oh whoops ,I was trying different bits of code and I must have gotten the assignments mixed up sData should be Buffer.
Great thanks, so would it be something like this:
Private Sub MSComm1_OnComm()
Dim sData As String
Dim ID As Long
Dim X As Long
Dim Y As Long
Dim Z As Long
Dim Count as...
Hi,
I have a project that sends 4 bytes of data via RS232 to the Serial Port on the computer.
I want to store the values coming in into specific registers. When I receive the decimal value 230 (binary 11100110) I want to store the next two bytes as X and then Y so that I can use this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.