Filter data coming from serial port

Reply

Join Date: Jun 2009
Posts: 5
Reputation: sengreen is an unknown quantity at this point 
Solved Threads: 0
sengreen sengreen is offline Offline
Newbie Poster

Filter data coming from serial port

 
0
  #1
Jul 3rd, 2009
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...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC