EasyManuals Logo

Campbell 107 User Manual

Default Icon
25 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
Page #20 background imageLoading...
Page #20 background image
Appendix B. Example program
This following example measures one 107 temperature probe once a second and stores the
average temperature every 60 minutes.
CRBasic Example 1: CR1000X program that measures the 107
'Program measures one 107 temperature probe once a second and
'stores the average temperature every 60 minutes.
'Wiring Diagram
'==============
'Probe
'Wire Data logger
'
Colour
Function Terminal
'----- -------- ------
'Black Voltage-excitation inputVX1/EX1
'Red
Analogue-voltage output
SE1
'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,1,Vx1,0,60,1.0,0.0)
'Call Data Table
CallTable(Hourly)
NextScan
EndProg
107 Temperature Probe15

Other manuals for Campbell 107

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell 107 and is the answer not in the manual?

Campbell 107 Specifications

General IconGeneral
BrandCampbell
Model107
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals