Dinamita
Nov 13th, 1999, 01:17 AM
I am trying to use the MSComm function on VB6.0 to receive some GPS information into a hyperterminal I created. The data that I am receiving looks as follows:
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPZDA,190607.00,,,,00,00*6F
$GPGSV,2,1,08,01,49,328,,03,16,165,,06,09,051,,14,48,277,*71
$GPGSV,2,2,08,16,19,314,,22,88,154,,25,48,036,,29,15,124,*7E
$GPRMC,190608.00,V,2834.4610,N,08115.4043,W,,,,,*30
$GPGGA,190608.00,2834.4610,N,08115.4043,W,0,00,,-95.8,M,,M,,*50
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPZDA,190608.00,,,,00,00*60
$GPGSV,2,1,08,01,49,328,,03,16,165,,06,09,051,,14,48,277,*71
$GPGSV,2,2,08,16,19,314,,22,88,154,,25,48,036,,29,15,124,*7E
The problem is that I need to strip some of this data away, and I do not know how to. I believe that it has to do with the MSComm.input. Can someone give me some input on this matter? I appreciate it.
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPZDA,190607.00,,,,00,00*6F
$GPGSV,2,1,08,01,49,328,,03,16,165,,06,09,051,,14,48,277,*71
$GPGSV,2,2,08,16,19,314,,22,88,154,,25,48,036,,29,15,124,*7E
$GPRMC,190608.00,V,2834.4610,N,08115.4043,W,,,,,*30
$GPGGA,190608.00,2834.4610,N,08115.4043,W,0,00,,-95.8,M,,M,,*50
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPZDA,190608.00,,,,00,00*60
$GPGSV,2,1,08,01,49,328,,03,16,165,,06,09,051,,14,48,277,*71
$GPGSV,2,2,08,16,19,314,,22,88,154,,25,48,036,,29,15,124,*7E
The problem is that I need to strip some of this data away, and I do not know how to. I believe that it has to do with the MSComm.input. Can someone give me some input on this matter? I appreciate it.