| | |
Filter data coming from serial port
![]() |
•
•
Join Date: Jun 2009
Posts: 5
Reputation:
Solved Threads: 0
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...
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
- reading data using serial port (Visual Basic 4 / 5 / 6)
- Send data on a serial port (C)
- storing data from serial port inyto a database using VB6.0 (Visual Basic 4 / 5 / 6)
- Serial port communication using C++ (C++)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Have a question....
- Next Thread: creating a license ?
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading refresh remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





