![Campbell CS475 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/campbell/cs475/cs475_instruction-manual_3829368033.webp)
B-1
Appendix B. Example Program
CRBasic Example B-1. CR1000 Program Measuring the CS475
'CR1000 Series Datalogger
'Declare the variable for the water level measurement
Public
CS475(3)
'Rename the variable names
Alias
CS475(1)=Stage
Alias
CS475(2)=Distance
Alias
CS475(3)=Error_Code
'Define a data table for 60 minute maximum and minimums
DataTable
(Hourly,True,-1)
DataInterval
(0,60,Min,10)
Maximum
(1,Distance,FP2,0,0)
Minimum
(1,Distance,FP2,0,0)
Average
(1,Distance,FP2,False)
StdDev
(1,Distance,FP2,False)
Maximum
(1,Stage,FP2,0,0)
Minimum
(1,Stage,FP2,0,0)
Average
(1,Stage,FP2,False)
StdDev
(1,Stage,FPs,False)
Sample
(1,Error_Code,UINT2)
EndTable
'Read sensor every 60 seconds
BeginProg
Scan
(60,sec,1,0)
'Code for SDI-12 measurements:
SDI12Recorder
(CS475,1,0,”M!”,1,0)
'Call the data table:
CallTable
(Hourly)
NextScan
EndProg
Содержание CS475
Страница 2: ......
Страница 6: ......
Страница 10: ...Table of Contents iv...
Страница 32: ......
Страница 34: ......
Страница 46: ...Appendix C SDI 12 Commands Changing Settings C 12...
Страница 48: ......
Страница 49: ......