Section 7. Installation
'Optional – Declare a Station Name into a location in the Status table.
StationName
(CR1000_on_desk)
'Optional -- Declare units. Units are not used in programming, but only appear in the
'data file header.
Units
Batt_Volt = Volts
Units
PTemp = deg C
Units
AirTemp = deg C
Units
AirTempF2 = deg F
Units
DeltaT_C = deg C
'Declare an interval driven output table
DataTable
(OneMin,True,-1)
'Time driven data storage
DataInterval
(0,1,Min,0)
'Controls the interval
Average
(1,AirTemp_C,IEEE4,0)
'Stores temperature average in high
'resolution format
Maximum
(1,AirTemp_C,IEEE4,0,False)
'Stores temperature maximum in high
'resolution format
Minimum
(1,AirTemp_C,FP2,0,False)
'Stores temperature minimum in low
'resolution format
Minimum
(1,Batt_Volt,FP2,0,False)
'Stores battery voltage minimum in low
'resolution format
Sample
(1,Counter,Long)
'Stores counter in integer format
Sample
(1,SiteName,String)
'Stores site name as a string
Sample
(1,HowMany, FP2)
'Stores how many data events in low
'resolution format
EndTable
'Declare an event driven data output table
DataTable
(Event,True,1000)
'Data table – event driven
DataInterval
(0,5,Sec,10)
'—AND interval driven
DataEvent
(0,DeltaT_C >= 3,DeltaT_C < 3,0)
'—AND event range driven
Maximum
(1,AirTemp_C,FP2,0,False)
'Stores temperature maximum in low
'resolution format
Minimum
(1,AirTemp_C,FP2,0,False)
'Stores temperature minimum in low
'resolution format
Sample
(1,DeltaT_C, FP2)
'Stores temp difference sample in low
'resolution format
Sample
(1,HowMany, FP2)
'Stores how many data events in low
'resolution format
EndTable
BeginProg
'A second way of naming a station is to load the name into a string variable. The is
'place here so it is executed only once, which saves a small amount of program
'execution time.
SiteName = "CR1000SiteName"
175
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......