Campbell Manufacturing 109SS Power Supply User Manual


 
Model 109SS Temperature Probe
5.1.1.1 Sample Program for CR200 Series Datalogger
'CR200 Series Datalogger
‘This example program measures a single 109SS Thermistor Probe
‘once a second and stores the average temperature every 10 minutes.
‘Declare the variable for the temperature measurement
Public Air_Temp
‘Define a data table for 10 minute averages:
DataTable (AvgTemp,1,1000)
DataInterval (0,10,min)
Average (1,Air_Temp,0)
EndTable
BeginProg
Scan (1 ,sec)
‘Measure the temperature:
Therm109 (Air_Temp,1,1,Ex1,1.0,0)
Call the data table:
CallTable AvgTemp
NextScan
EndProg
5.1.1.2 Example 2. Sample Program for CR1000 Datalogger
'CR1000
'Declare Variables and Units
Public T109_C
Units T109_C=Deg C
'Define Data Tables
DataTable(Table1,True,-1)
DataInterval(0,10,Min,10)
Average(1,T109_C,FP2,False)
EndTable
'Main Program
BeginProg
Scan(1,Sec,1,0)
'Default Datalogger Battery Voltage measurement Batt_Volt:
'109SS Temperature Probe measurement T109_C:
Therm109(T109_C,1,1,1,0,_60Hz,1.0,0.0)
'Call Data Tables and Store Data
CallTable(Table1)
NextScan
EndProg
6