CR10X and a Rain gauge

For discussion of any observing equipment, from Stevenson Screens and manual instruments to electronic weather stations

CR10X and a Rain gauge

Postby Mike Brown » 2013 Nov 05, 15:13

I am currently trying to connect an ARG 100 rain gauge to a Campbell Scientific CR10X. Connections are fine and I can see each time that the bucket tips. However, it will not record the total as it should as the only option through Short Cut.

Has anyone any experience of this type of setup, and are there any little quirks I should know about please?

I wold greatly appreciate any advice to resolve the problem.

Best wishes

Mike
Mike Brown
 
Posts: 49
Joined: 2011 Dec 03, 18:04
Location: Bolton le Sands, North West Lancashire

Re: CR10X and a Rain gauge

Postby Stephen Burt » 2013 Nov 09, 22:02

Mike,

Here's the snippet of code used on my CR10X to connect to a TBR. I've deleted all the intervening code for the other sensors, but I think this should work on its own ...

;{CR10X}
;
*Table 1 Program
01: 1 Execution Interval (seconds)
;
;
; RAINFALL tipping-bucket 1
; ********

40: Pulse (P3)
1: 1 Reps
2: 2 Pulse Channel 2
3: 0 High Frequency, All Counts
4: 14 Loc [ Rain ]
5: .200 Mult
6: 0.0 Offset

; ----------------------- 1 MINUTE OUTPUTS --------------------

72: If time is (P92)
1: 0 -- Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)

73: Set Active Storage Area (P80)^5101
1: 01 Final Storage Area 1
2: 01 Array ID

74: Real Time (P77)^20774
1: 110 Day,Hour/Minute (midnight = 0000)

89: Totalize (P72)^5048
1: 1 Reps
2: 14 Loc [ Rain ]

; ----------------------- 5 MINUTE OUTPUTS --------------------

91: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 5 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)

92: Set Active Storage Area (P80)^14718
1: 01 Final Storage Area 1
2: 05 Array ID

93: Real Time (P77)^11960
1: 110 Day,Hour/Minute (midnight = 0000)

108: Totalize (P72)^14075
1: 1 Reps
2: 14 Loc [ Rain ]

; ----------------------- 60 MINUTE OUTPUTS --------------------

115: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)

116: Set Active Storage Area (P80)^5163
1: 01 Final Storage Area 1
2: 60 Array ID

117: Real Time (P77)^3026
1: 110 Day,Hour/Minute (midnight = 0000)

132: Totalize (P72)^61
1: 1 Reps
2: 14 Loc [ Rain ]

; ----------------------- 24 HOUR MIDNIGHT OUTPUTS --------------------

151: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 1440 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)

152: Set Active Storage Area (P80)^32284
1: 01 Final Storage Area 1
2: 240 Array ID

153: Real Time (P77)^9222
1: 110 Day,Hour/Minute (midnight = 0000)

168: Totalize (P72)^5496
1: 1 Reps
2: 14 Loc [ Rain ]

*Table 2 Program
02: 0.0000 Execution Interval (seconds)

*Table 3 Subroutines

End Program

SB
-----
Stratfield Mortimer, Berkshire - central southern England
51.4°N, 1.0°W, 60 m AMSL, station grade A - AAAA47R
Records commenced here 1987 - local records available back to 1862
The Weather Observer's Handbook: www.measuringtheweather.com
Stephen Burt
 
Posts: 247
Joined: 2011 Dec 02, 19:36
Location: Stratfield Mortimer, Berkshire; a well-exposed rural site, 10 km SW of Reading

Re: CR10X and a Rain gauge

Postby Mike Brown » 2013 Nov 19, 22:24

Thank you so much for that. I now have something to compare my own code to.

Best wishes

Mike
Mike Brown
 
Posts: 49
Joined: 2011 Dec 03, 18:04
Location: Bolton le Sands, North West Lancashire

Re: CR10X and a Rain gauge

Postby Mike Brown » 2013 Dec 07, 12:51

Thanks for the code. It has helped me work out where the problem was. All functional on the rain gauge front now.

Best wishes

Mike
Mike Brown
 
Posts: 49
Joined: 2011 Dec 03, 18:04
Location: Bolton le Sands, North West Lancashire


Return to Equipment



Who is online

Users browsing this forum: No registered users and 2 guests

cron