A.1.6 troubleshooting, A.1.6 – Campbell Scientific GPS16-HVS Garmin GPS Receiver User Manual

Page 21

Advertising
background image

Appendix A. CR23X/CR10X Programs

; Write data to final storage every time there is
; a valid read of GPS data
15: Do (P86)
1: 10

Set Output Flag High (Flag 0)


16: Set Active Storage Area (P80)^18796
1: 1

Final Storage Area 1

2: 101

Array ID


; Write datalogger based time stamp
17: Real Time (P77) ^27570
1: 0011

Hour/Minute,Seconds (midnight = 0000)


; Write GPS based time stamp
18: Sample (P70) ^6080
1: 3

Reps

2: 20

Loc [ Hours ]


; Set resolution to high for latitude and Longitude
19: Resolution (P78)
1: 1

High Resolution


20: Sample (P70) ^20303
1: 4

Reps

2: 2

Loc [ LatDegMin ]


; Write elevation in meters
21: Sample (P70) ^32246
1: 1

Reps

2: 10

Loc [ Elevation ]


; Set resolution low
22: Resolution (P78)
1: 0

Low Resolution


; Write the number of satellites in view
23: Sample (P70) ^1910
1: 1

Reps

2: 7

Loc [ NumSats ]


; Reset the the GPS quality number
24: Z=F x 10^n (P30)
1: -1

F

2: 00

n, Exponent of 10

3: 6

Z Loc [ Quality ]


25: End (P95)

26: End (P95)

End Program

A.1.6 Troubleshooting

The first step is to verify that it really does not work. With the Garmin16-HVS

running and the datalogger program running, look at the input location for GPS

Quality Number. This location will show a one when the Garmin16-HVS

output is picked up by the datalogger. The input location for parsed time and

position are good locations to check. The location for seconds should update

every time the GPS data is updated.

If the GPS time and position data are not shown in the input locations, check

the communication cable wiring.

A-7

Advertising