
Appendix B. Example Programs
B.2 CR10X Example Program
;{CR10X}
*Table 1 Program
01: 10.0000 Execution Interval (seconds)
; Measure CS300 pyranometer
1: Volt (SE) (P1)
1: 1 Reps
2: 24 250 mV 60 Hz Rejection Range ; use 500 mV range for the CR7 and
21X,
1000 mV range for the CR23X. For the
3: 1 SE Channel CR10X, use range code 0 or 25 for
4: 1 Loc [ SlrW ] > 1200 w/m
2
intensities.
5: 1.0 Multiplier
6: 0.0 Offset
; Set negative values to zero
2: If (X<=>F) (P89)
1: 1 X Loc [ SlrW ]
2: 4 <
3: 0 F
4: 30 Then Do
3: Z=F x 10^n (P30)
1: 0 F
2: 0 n, Exponent of 10
3: 1 Z Loc [ SlrW ]
4: End (P95)
; Convert mV to MJ/m2 for 10 second execution interval
5: Z=X*F (P37)
1: 1 X Loc [ SlrW ]
2: .00005 F
3: 2 Z Loc [ SlrMJ ]
; Convert mV to W/m2
6: Z=X*F (P37)
1: 1 X Loc [ SlrW ]
2: 5 F
3: 1 Z Loc [ SlrW ]
7: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
8: Set Active Storage Area (P80)
1: 1 Final Storage Area 1
2: 101 Array ID
9: Real Time (P77)
1: 1220 Year,Day,Hour/Minute (midnight = 2400)
10: Average (P71)
1: 1 Reps
2: 1 Loc [ SlrW ]
11: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 1440 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
B-2
Comentarios a estos manuales