; NOTE: the following CSI logger program annotations may contain errors. ; From an experimental perl module, Campbell::Program, by fnkci@uaf.edu ; output generated on host shand at Thu Sep 17 21:05:53 2015 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 5 1:P10 ; BATT VOLT 1:1 ; store in location 1 2:P17 ; INTERNAL TEMP 1:2 ; store in location 2 3:P3 ; PULSE 1:1 ; 1 repetition 2:1 ; from pulse counter P1 3:22 ; as switch closure, discard long interval counts, output frequency (Hz) 4:5 ; store result in location 5 5:.799 ; with multiplier * 0.799 6:.2811 ; and with offset + 0.2811 4:P89 ; IF X < = > F 1:5 ; if X from location 5 2:1 ; is = 3:.2811 ; fixed value 0.2811 4:30 ; then DO... 5:P30 ; Z=F*10^exp 1:0 ; fixed value 0 2:0 ; times 1 (10^0) 3:5 ; store 0 in location 5 6:P95 ; END IF-DO 7:P5 ; AC HALF BR 1:1 ; 1 repetition 2:25 ; using 2500 mV range, reject 60 Hz 3:1 ; from input channel SE1 4:1 ; drive excitation channel E1 5:2500 ; with 2500 mV excitation 6:6 ; store result in location 6 7:720 ; with multiplier * 720 8:0 ; and with offset + 0 8:P3 ; PULSE 1:1 ; 1 repetition 2:7 ; from control port C7 3:2 ; as switch closure 4:7 ; store result in location 7 5:.254 ; with multiplier * 0.254 6:0 ; and with offset + 0 9:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:24 ; using 250 mV range, reject 60 Hz 3:5 ; from input channel DIFF5 4:8 ; store result in location 8 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 10:P89 ; IF X < = > F 1:8 ; if X from location 8 2:3 ; is >= 3:0 ; fixed value 0 4:30 ; then DO... 11:P37 ; Z=X*F 1:8 ; X value from location 8 2:9.42 ; fixed value 9.42 3:9 ; store product in location 9 12:P37 ; Z=X*F 1:9 ; X value from location 9 2:1.045 ; fixed value 1.045 3:9 ; store product in location 9 13:P94 ; ELSE 14:P37 ; Z=X*F 1:8 ; X value from location 8 2:11.74 ; fixed value 11.74 3:9 ; store product in location 9 15:P95 ; END IF-DO-ELSE 16:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:22 ; using 7.5 mV range, reject 60 Hz 3:6 ; from input channel DIFF6 4:15 ; store result in location 15 5:200 ; with multiplier * 200 6:0 ; and with offset + 0 17:P89 ; IF X < = > F 1:15 ; if X from location 15 2:4 ; is < 3:0 ; fixed value 0 4:30 ; then DO... 18:P30 ; Z=F*10^exp 1:0 ; fixed value 0 2:0 ; times 1 (10^0) 3:15 ; store 0 in location 15 19:P95 ; END IF-DO 20:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 21:P105 ; SDI-12 RECORDER 1:0 ; address 0 2:0 ; command M, initiate measurement 3:1 ; port C1 4:10 ; store result in location 10 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 22:P30 ; Z=F*10^exp 1:273.15 ; fixed value 273.15 2:0 ; times 1 (10^0) 3:11 ; store 273.15 in location 11 23:P33 ; Z=X+Y 1:3 ; X value from location 3 2:11 ; Y value from location 11 3:12 ; store sum in location 12 24:P38 ; Z=X/Y 1:12 ; X value from location 12 2:11 ; Y value from location 11 3:13 ; store ratio in location 13 25:P39 ; Z=SQRT(X) 1:13 ; X value from location 13 2:13 ; store square root in location 13 26:P36 ; Z=X*Y 1:10 ; X value from location 10 2:13 ; Y value from location 13 3:14 ; store product in location 14 27:P95 ; END IF-DO 28:P92 ; IF TIME 1:0 ; is 0 minutes into 2:15 ; 15 minute interval 3:30 ; then DO... 29:P86 ; DO 1:44 ; set port C4 high 30:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:15 ; delay 0.15 sec after excitation 4:0 ; with 0 mV excitation 31:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:5 ; from input channel SE5 4:3 ; store result in location 3 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 32:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:6 ; from input channel SE6 4:4 ; store result in location 4 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 33:P86 ; DO 1:54 ; set port C4 low 34:P95 ; END IF-DO 35:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 135 36:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 37:P71 ; AVERAGE 1:2 ; 2 repetitions 2:1 ; value from location 1 38:P71 ; AVERAGE 1:2 ; 2 repetitions 2:3 ; value from location 3 39:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:60 ; 60 scans for standard deviation subinterval 3:0 ; avg spd, avg dir, std dev of dir (Yamartino), for anem. & vane 4:5 ; wind speed from location 5 5:6 ; wind direction from location 6 40:P73 ; MAXIMUM 1:1 ; 1 repetition 2:0 ; output value only 3:5 ; value from location 5 41:P72 ; TOTALIZE 1:1 ; 1 repetition 2:7 ; value from location 7 42:P71 ; AVERAGE 1:1 ; 1 repetition 2:8 ; value from location 8 43:P71 ; AVERAGE 1:1 ; 1 repetition 2:9 ; value from location 9 44:P71 ; AVERAGE 1:1 ; 1 repetition 2:15 ; value from location 15 45:P71 ; AVERAGE 1:1 ; 1 repetition 2:10 ; value from location 10 46:P71 ; AVERAGE 1:1 ; 1 repetition 2:14 ; value from location 14 47:P96 ; SERIAL OUT 1:71 ; storage module 1 48:P20 ; PORT SET 1:7999 ; P8=output, P7=nc, P6=nc, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 49:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 50:P89 ; IF X < = > F 1:1 ; if X from location 1 2:4 ; is < 3:12.6 ; fixed value 12.6 4:21 ; set flag F1 low 51:P89 ; IF X < = > F 1:1 ; if X from location 1 2:3 ; is >= 3:12.2 ; fixed value 12.2 4:48 ; set port C8 high 52:P95 ; END IF-DO 53:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 54:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:30 ; then DO... 55:P92 ; IF TIME 1:10 ; is 10 minutes into 2:60 ; 60 minute interval 3:58 ; set port C8 low 56:P95 ; END IF-DO 57:P0 ; NOP MODE 2 SCAN RATE 0 MODE 3 1:P0 ; NOP MODE 10 1:28 2:64 3:0 4:1097729 5:2048 MODE 12 1:0 1:0 1:0 MODE 13 13:8 8:0 MODE 13 13:9 9:0 MODE 13 13:10 10:0 MODE 13 13:13 13:0 MODE 11 1:13774 2:53564 3:2304 4:99 5:0 6:1 7:12 8:2.9541 9:99 10:00-- 11:26 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_135 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc1.logger_battery_voltage ;; 6. average-Loc2.panel_temperature_C ;; 7. average-Loc3.SE5 ;; 8. average-Loc4.SE6 ;; 9. vector_avg_spd-Loc5.P1 ;; 10. vector_avg_dir-Loc6.SE1 ;; 11. vector_dir_std_dev ;; 12. maximum-Loc5.P1 ;; 13. totalize-Loc7.C7 ;; 14. average-Loc8.DIFF5 ;; 15. average-Loc9 ;; 16. average-Loc15.DIFF6 ;; 17. average-Loc10 ;; 18. average-Loc14