![Campbell GPS16X-HVS Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/campbell/gps16x-hvs/gps16x-hvs_user-manual_489135033.webp)
Appendix B. CR23X Wiring and Programming
B-5
The code required to read the GPS information and store it to final storage is in
Subroutine 98. Subroutine 98 is interrupt driven and triggered when a rising edge
is detected on Control port 8. The GPS16X-HVS has a 1 PPS signal which is
wired to control port 8. The transmit data line of serial port 1 on the GPS16X-
HVS is wired to control port 5. The GPS16X-HVS serial port 2 generally is not
used.
When the 1 PPS signal triggers subroutine 98, P15 is executed. P15 is setup to
read ASCII serial data. Each data point is separated by a non-numeric character or
a decimal point. Fifteen input locations are used as temporary storage for the
$GPGGA string. Table
4-1
explains the $GPGGA string.
The input locations used for the $GPGGA string are:
1) Raw_Time, Time in hours, minutes, and seconds
2) LatDegMin, Latitude degrees and minutes
3) Lat_Frac, Latitude fractions of minute
4) LngDegMin, Longitude degrees and minutes
5) Lng_Frac, Longitude fractions of minute
6) Quality, GPS quality indicator
7) NumSats, Number of satellites in use
8) HDPWhole, Horizontal Dilution of Precision
9) HDPFrac, Horizontal Dilution of Precision, tenths
10) Elevation, Elevation in metres
11) Geoidal, Geoidal separation in metres
12) Geoidalth, Geoidal separation in metres, tenths
13) Age, Age of differential GPS data
14) Agetenth, Age of differential GPS data, tenths
15) DiffID, Differential reference station ID
Additional input locations used in the example program are:
18) Orig_TM, Copy of original time
19) Int1, Place holder for math
20) Hours, formatted hours
21) Minutes, formatted minutes
22) Seconds, formatted seconds
23) remainder, place holder for math
Before writing any datalogger code, it’s best to enter all the input locations
needed. In Edlog, open the input location editor (F5) and enter names for the input
locations listed above. When an input location is needed, use the input location
pick list (F6).
Содержание GPS16X-HVS
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 8: ......
Страница 28: ...Appendix A Changing GPS16X HVS Settings A 4 ...
Страница 38: ...Appendix B CR23X Wiring and Programming B 10 ...
Страница 41: ......