d32 gebruiker schreef :
Echter vanuit dit programma word de zin APB uitgestuurd. Deze word echter niet door de aanwezige Dataline databox herkent. Deze kent als input alleen maar APA.
de layout van de twee (APA en APB) is niet gelijk.
in een APB zitten meer datavelden dan in een APA.
Dus zomaar de naam veranderen (kip => konijn) zal in dit geval vermoedelijk niet helpen. Maar je zou het kunnen proberen, misschien is die databox niet zo oplettend en merkt hij het verschil niet......
Overigens is de APA in 2009 obsolete verklaard: het is geen officiele NMEA zin meer.
voor de liefhebber de layout van beide hieronder.
groet
t
1 2 3 4 5 6 7 8 9 10 11
| | | | | | | | | | |
$--APA,A,A,x.xx,L,N,A,A,xxx,M,c---c*hh<CR><LF>
Field Number:
1. Status
V = LORAN-C Blink or SNR warning
V = general warning flag or other navigation systems when a reliable
fix is not available
2. Status
V = Loran-C Cycle Lock warning flag
A = OK or not used
3. Cross Track Error Magnitude
4. Direction to steer, L or R
5. Cross Track Units (Nautic miles or kilometers)
6. Status
A = Arrival Circle Entered
7. Status
A = Perpendicular passed at waypoint
8. Bearing origin to destination
9. M = Magnetic, T = True
10. Destination Waypoint ID
11. checksum
Example: $GPAPA,A,A,0.10,R,N,V,V,011,M,DEST,011,M*82
=== APB - Autopilot Sentence "B" ===
This is a fixed form of the APA sentence with some ambiguities removed.
Note: Some autopilots, Robertson in particular, misinterpret "bearing
from origin to destination" as "bearing from present position to
destination". This is likely due to the difference between the APB
sentence and the APA sentence. for the APA sentence this would be the
correct thing to do for the data in the same field. APA only differs
from APB in this one field and APA leaves off the last two fields
where this distinction is clearly spelled out. This will result in
poor performance if the boat is sufficiently off-course that the two
bearings are different.
13 15
1 2 3 4 5 6 7 8 9 10 11 12| 14|
| | | | | | | | | | | | | | |
$--APB,A,A,x.x,a,N,A,A,x.x,a,c--c,x.x,a,x.x,a*hh<CR><LF>
Field Number:
1. Status
V = LORAN-C Blink or SNR warning
V = general warning flag or other navigation systems when a reliable
fix is not available
2. Status
V = Loran-C Cycle Lock warning flag
A = OK or not used
3. Cross Track Error Magnitude
4. Direction to steer, L or R
5. Cross Track Units, N = Nautical Miles
6. Status
A = Arrival Circle Entered
7. Status
A = Perpendicular passed at waypoint
8. Bearing origin to destination
9. M = Magnetic, T = True
10. Destination Waypoint ID
11. Bearing, present position to Destination
12. M = Magnetic, T = True
13. Heading to steer to destination waypoint
14. M = Magnetic, T = True
15. Checksum
Example: $GPAPB,A,A,0.10,R,N,V,V,011,M,DEST,011,M,011,M*82