beautypg.com

2 cr10x example program – Campbell Scientific 27106T Gill Propeller Anemometer User Manual

Page 11

background image

27106T Gill Propeller Anemometer

'Define Data Tables
DataTable (Table1,True,-1)
DataInterval

(0,10,Min,10)

Maximum

(1,WS_ms,FP2,False,False)

Minimum

(1,WS_ms,FP2,0,False)

Average

(1,WS_ms,FP2,False)

EndTable

'Main Program
BeginProg
Scan

(1,Sec,1,0)

Battery

(Batt_Volt)

'27106T Wind Speed Sensor measurement

VoltSe

(WS_ms,1,mV2500,1,1,0,250,0.01800,0)

'mV5000 range code for CR3000 and CR5000 dataloggers


'Call Output Tables

CallTable

Table1

NextScan
EndProg

5.2.2 CR10X Example Program

;{CR10X}
;
*Table 1 Program
01: 1.000

Execution Interval (seconds)


;27106T Wind Speed Sensor Measurement
1: Volt (SE) (P1)
1: 1

Reps

2: 5

2500 mV Slow Range

;5000mV (slow 60Hz) Range for CR23X, 21X, CR7

3: 1

SE

Channel

4: 1

Loc [ WS_ms ]

5: 0.01800 Multiplier
6: 0

Offset


2: If time is (P92)
1: 0

Minutes (Seconds --) into a

2: 10

Interval (same units as above)

3: 10

Set Output Flag High (Flag 0)


3: Set Active Storage Area (P80)^23620
1: 1

Final Storage Area 1

2: 101

Array

ID


4: Real Time (P77)^28329
1: 1220

Year,Day,Hour/Minute (midnight = 2400)


5: Maximum (P73)
1: 1

Reps

2: 0

Value

Only

3: 1

Loc [ WS_ms ]

7