943,807 Members | Top Members by Rank

Ad:
Jul 3rd, 2009
0

Filter data coming from serial port

Expand Post »
I am developing a program to receive serial data from serial port. I am successfully getting data from serial port with MScomm. The next step is to filter the data coming from serial port.
Data Example:
$ABCDE,1,1,??,,007.60,163.6,00.2,061.6,07.4,099.9
$ABCDE,1,2,??,,006.60,153.6,10.2,161.6,07.4,099.9
$ABCDE,1,3,??,,017.60,109.6,11.2,161.6,07.4,099.9
$ABCDE,1,4,??,,107.60,103.6,09.2,111.6,07.4,099.9
...............................
...............................so on
I want to filter the red coloured data from the coming strings on real time and want to show the data in another text box.
Select Case MSComm1.CommEvent
Case comEvReceive
Dim strReceived As Variant
strReceived = MSComm1.Input

Now any body can help me what I have to do to filter out the desired values...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sengreen is offline Offline
5 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Have a question....
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: creating a license ?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC