|
-
Mar 24th, 2005, 11:08 AM
#1
Thread Starter
New Member
MSComm input help
Hello all,
First off I am fairly new to VB.
I am trying to write a program that captures data from a Ultrasonic sensor that is connected to the com port. The sensor has an 8 byte output. In hyperterminal it looks as follows:
00384
The sensor outputs every 50 mSec. Currently I am using the OnComm event and it triggers everytime it recieves 1 byte.
The problem is that I am capturing snippets of one packet and another snippet of the next packet. I want to be able to recieve each packet individually so I can compare them.
Any help is appreciated
Thanks,
Joe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|