![]() |
| ||
| Filter data coming from serial port 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... |
| All times are GMT -4. The time now is 2:11 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC