> call getValidity
> call SkipCommas(2)
> call GetBytes(Navigate,3)
With the sample line you show:
$GPRMB,A,0.00,L,,SIGULD,5708.612,N,02450.922,E,25.760,61.5,,V,A*74
that code will put "L,," in Navigate, right?
Tom

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )
> ...Yes, will put "L,," in Navigate...
That's probably not what you want, since the "L" and the following two
fields aren't related. Why Dim Navigate (1 to 3)?
According to Dale, RMB looks like:
$GPRMB,A,0.66,L,003,004,4917.24,N,12309.57,W,001.3,052.5,000.5,V*20
where
RMB Recommended minimum navigation information
A Data status A = OK, V = Void (warning)
0.66,L Cross-track error (nautical miles), steer L or R
003 Origin waypoint ID
004 Destination waypoint ID
.... etc.
but your sample is:
$GPRMB,A,0.00,L,,SIGULD,5708.612,N,02450.922,E,25.760,61.5,,V,A*74
so you don't have an Origin waypoint ID from your device.
If all you want from that part of the sentence is the steer direction, I
would get the data this way:
call getValidity
call SkipCommas(2) 'ignore Crosstrack error
call GetBytes(Navigate,1) 'Steer
call SkipCommas(2) 'ignore Origin Waypoint ID
Tom
------------------------------------

(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )