when trying to upload a new simple cod to the CR6
lines below are seen as invalid "totalize" is not recognised as a comand!
please advise on how to make this work. am trying to total rainfall over a set period.
'########## Define Data Tables ##########
DataTable(Table1,True,-1)
DataInterval(0,10,Min,10) 'write table every 10 minutes
Sample (1,LoggerName,String)
Sample (1,SupplyVolts,FP2)
Sample (1,LithiumVolts,FP2)
Sample (1,PTemp_degC,FP2)
Totalize (1,Rain1_mm,FP2)
Totalize (1,Rain2_mm,FP2)
Average (1,nmbr_satellites,FP2,False)
Sample (1,latitude_a,String)
Sample (1,latitude_b,String)
Sample (1,longitude_a,String)
Sample (1,longitude_b,String)
Sample (1,speed,String)
Sample (1,course,String)
Sample (1,altitude,String)
'########## Main Program ###########BeginProg LoggerName="FoxLandslide" 'ie a unique name for this logger 'Main Scan Scan(1,Min,1,0) 'Scan once every minute Battery(Batt_volt())'Read the supply and lithium voltages PanelTemp(PTemp_degC,50) 'Read CR6 internal temp PulseCount(Rain1_mm,1,U1,2,0,0.2,0) 'Read the 0.2mm TB3 Rain Gauge PulseCount(Rain2_mm,1,U2,2,0,1,0) 'Read the 1mm TB3 Rain Guage CallTable Table1 'Call Data Table and Store Data
NextScan
Much of your programn is missing from the above listing.
Are you using CRBasic to create this program? If you are, then when you compile it, CRBasic will list many errors that you will need to rectify.
I think the CR6 is rejecting the program as there are many things wrong with it.
You will need CRBasic to write this program for the CR6. Or you use ShortCut instead, which you can get from the Campbell Scientific website.