![Campbell ARG100 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/campbell/arg100/arg100_instruction-manual_3778524013.webp)
ARG100 Tipping Bucket Rain Gauge
7
5.2 Control Port Example
The following example programs use a control port to read the output from the
precipitation gauge. The CR1000 example will also work with the CR800,
CR850, and CR3000. The CR10X program will also work with the CR500,
CR510, or CR23X.
5.2.1 CR1000 Example Program
'CR1000
'ARG100 Tipping
'
'Declare Variables and Units
Public BattV
Public Rain_mm
Units BattV = Volts
Units Rain_mm =mm
DataTable(OneMin,True,-1)
DataInterval(0,1,Min,10)
Totalize
(1,Rain_mm,FP2,False)
EndTable
'Define Data Tables
DataTable(OneDay,True,-1)
DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)
Totalize
(1,Rain_mm,FP2,False)
'ARG100 tipping bucket
EndTable
'Main Program
BeginProg
Scan(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement BattV
PanelTemp
(PTemp,_50Hz)
Battery(BattV)
'ARG100
Rain
Gauge
measurement
Rain_mm
PulseCount(Rain_mm,1,14,2,0,0.2,0)
'Call Data Tables and Store Data
CallTable(OneMin)
CallTable(OneDay)
NextScan
EndProg