EasyManua.ls Logo

Campbell 107

Default Icon
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix B. Example Programs
B-2
The following example can be used directly with CR6-series dataloggers.
CRBasic Example B-2. 107 Program Example for CR6-Series Dataloggers
'Program measures one 107 temperature probe once a second and
'stores the average temperature every 60 minutes.
'Wiring Diagram
'==============
' 107
' Probe
' Lead CR6
' Color Function Terminal
' ----- -------- ------
' Black Voltage-excitation input U10
' Red Analog-voltage output U1
' Purple Bridge-resistor ground Ground Symbol
' Clear Shield Ground Symbol
'Declare the variables for the temperature measurement
Public T107_C
'Define a data table for 60 minute averages:
DataTable(Hourly,True,-1)
DataInterval(0,60,Min,0)
Average(1,T107_C,IEEE4,0)
EndTable
BeginProg
Scan(1,Sec,1,0)
'Measure the temperature
Therm107(T107_C,1,U1,U10,0,60,1.0,0.0)
'Call Data Table
CallTable(Hourly)
NextScan
EndProg

Other manuals for Campbell 107

Related product manuals