; 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 Jul 24 18:54:39 2008 local time MODE 1 SCAN RATE 60 1:P30 ; Z=F*10^exp 1:3000 ; fixed value 3000 2:0 ; times 1 (10^0) 3:1 ; store 3000 in location 1 2:P10 ; BATT VOLT 1:28 ; store in location 28 3:P17 ; INTERNAL TEMP 1:27 ; store in location 27 4:P19 ; SIGNATURE 1:26 ; store in location 26 5:P20 ; PORT SET 1:7779 ; P8=output, P7=output, P6=output, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 6:P86 ; DO 1:1 ; call subroutine 1 7:P92 ; IF TIME 1:0 ; is 0 minutes into 2:15 ; 15 minute interval 3:30 ; then DO... 8:P89 ; IF X < = > F 1:28 ; if X from location 28 2:4 ; is < 3:11.5 ; fixed value 11.5 4:21 ; set flag F1 low 9:P89 ; IF X < = > F 1:28 ; if X from location 28 2:3 ; is >= 3:11.5 ; fixed value 11.5 4:46 ; set port C6 high 10:P95 ; END IF-DO 11:P92 ; IF TIME 1:14 ; is 14 minutes into 2:30 ; 30 minute interval 3:30 ; then DO... 12:P89 ; IF X < = > F 1:28 ; if X from location 28 2:4 ; is < 3:11.5 ; fixed value 11.5 4:22 ; set flag F2 low 13:P89 ; IF X < = > F 1:14 ; if X from location 14 2:3 ; is >= 3:-10 ; fixed value -10 4:30 ; then DO... 14:P89 ; IF X < = > F 1:28 ; if X from location 28 2:3 ; is >= 3:11.5 ; fixed value 11.5 4:48 ; set port C8 high 15:P95 ; END IF-DO 16:P95 ; END IF-DO 17:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:46 ; set port C6 high 18:P92 ; IF TIME 1:735 ; is 735 minutes into 2:1440 ; 1440 minute interval 3:46 ; set port C6 high 19:P92 ; IF TIME 1:734 ; is 734 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 20:P92 ; IF TIME 1:750 ; is 750 minutes into 2:1440 ; 1440 minute interval 3:46 ; set port C6 high 21:P92 ; IF TIME 1:765 ; is 765 minutes into 2:1440 ; 1440 minute interval 3:46 ; set port C6 high 22:P92 ; IF TIME 1:764 ; is 764 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 23:P92 ; IF TIME 1:7 ; is 7 minutes into 2:15 ; 15 minute interval 3:30 ; then DO... 24:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:56 ; set port C6 low 25:P91 ; IF FLAG/PORT 1:22 ; if flag F2 is low 2:58 ; set port C8 low 26:P95 ; END IF-DO 27:P86 ; DO 1:47 ; set port C7 high 28: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 29:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:3 ; from input channel SE3 4:5 ; store result in location 5 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 30:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:2 ; from input channel SE2 4:6 ; store result in location 6 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 31:P86 ; DO 1:57 ; set port C7 low 32:P3 ; PULSE 1:1 ; 1 repetition 2:1 ; from pulse counter P1 3:21 ; as low level AC, discard long interval counts, output frequency (Hz) 4:3 ; store result in location 3 5:.098 ; with multiplier * 0.098 6:0 ; and with offset + 0 33:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:1 ; from input channel SE1 4:1 ; drive excitation channel E1 5:2 ; with delay 0.02 sec 6:2500 ; with 2500 mV excitation 7:4 ; store result in location 4 8:.142 ; with multiplier * 0.142 9:0 ; and with offset + 0 34:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 134 35:P70 ; SAMPLE 1:1 ; 1 repetition 2:1 ; value from location 1 36:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 37:P71 ; AVERAGE 1:2 ; 2 repetitions 2:27 ; value from location 27 38:P71 ; AVERAGE 1:2 ; 2 repetitions 2:5 ; value from location 5 39:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:0 ; no standard deviation subinterval 3:1 ; avg spd, avg dir, for anem. & vane 4:3 ; wind speed from location 3 5:4 ; wind direction from location 4 40:P73 ; MAXIMUM 1:1 ; 1 repetition 2:0 ; output value only 3:3 ; value from location 3 41:P70 ; SAMPLE 1:2 ; 2 repetitions 2:3 ; value from location 3 42:P70 ; SAMPLE 1:1 ; 1 repetition 2:16 ; value from location 16 43:P70 ; SAMPLE 1:2 ; 2 repetitions 2:13 ; value from location 13 44:P0 ; NOP MODE 2 SCAN RATE 60 MODE 3 1:P85 ; BEGIN SUBROUTINEARRAY(0x815b5c8) 1:1 ; call subr_1() 2:P30 ; Z=F*10^exp 1:68.53 ; fixed value 68.53 2:0 ; times 1 (10^0) 3:11 ; store 68.53 in location 11 3:P30 ; Z=F*10^exp 1:149.42 ; fixed value 149.42 2:0 ; times 1 (10^0) 3:12 ; store 149.42 in location 12 4:P30 ; Z=F*10^exp 1:135 ; fixed value 135 2:0 ; times 1 (10^0) 3:13 ; store 135 in location 13 5:P18 ; TIME 1:3 2:0 3:14 6:P37 ; Z=X*F 1:17 ; X value from location 17 2:.01667 ; fixed value 0.01667 3:17 ; store product in location 17 7:P33 ; Z=X+Y 1:16 ; X value from location 16 2:17 ; Y value from location 17 3:14 ; store sum in location 14 8:P34 ; Z=X+F 1:15 ; X value from location 15 2:10 ; fixed value 10 3:16 ; store sum in location 16 9:P37 ; Z=X*F 1:16 ; X value from location 16 2:360 ; fixed value 360 3:16 ; store product in location 16 10:P37 ; Z=X*F 1:16 ; X value from location 16 2:.00274 ; fixed value 0.00274 3:16 ; store product in location 16 11:P34 ; Z=X+F 1:16 ; X value from location 16 2:90 ; fixed value 90 3:16 ; store sum in location 16 12:P48 ; Z=SIN(X) 1:16 ; degrees X from location 16 2:16 ; store sine of angle in location 16 13:P37 ; Z=X*F 1:16 ; X value from location 16 2:-23.45 ; fixed value -23.45 3:16 ; store product in location 16 14:P35 ; Z=X-Y 1:13 ; X value from location 13 2:12 ; Y value from location 12 3:13 ; store difference in location 13 15:P37 ; Z=X*F 1:13 ; X value from location 13 2:.06667 ; fixed value 0.06667 3:13 ; store product in location 13 16:P33 ; Z=X+Y 1:13 ; X value from location 13 2:14 ; Y value from location 14 3:13 ; store sum in location 13 17:P37 ; Z=X*F 1:13 ; X value from location 13 2:15 ; fixed value 15 3:12 ; store product in location 12 18:P34 ; Z=X+F 1:12 ; X value from location 12 2:90 ; fixed value 90 3:14 ; store sum in location 14 19:P48 ; Z=SIN(X) 1:14 ; degrees X from location 14 2:14 ; store sine of angle in location 14 20:P34 ; Z=X+F 1:11 ; X value from location 11 2:-90 ; fixed value -90 3:11 ; store sum in location 11 21:P36 ; Z=X*Y 1:11 ; X value from location 11 2:14 ; Y value from location 14 3:14 ; store product in location 14 22:P33 ; Z=X+Y 1:14 ; X value from location 14 2:16 ; Y value from location 16 3:14 ; store sum in location 14 23:P95 ; END SUBROUTINE 24: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:50944 2:53564 3:2304 4:99 5:99 6:1 7:12 8:3.0808 9:99 10:68-- 11:18.375 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_134 ;; 2. sample-Loc1 ;; 3. year ;; 4. day ;; 5. hhmm ;; 6. average-Loc27.panel_temperature_C ;; 7. average-Loc28.logger_battery_voltage ;; 8. average-Loc5.SE3 ;; 9. average-Loc6.SE2 ;; 10. vector_avg_spd-Loc3.P1 ;; 11. vector_avg_dir-Loc4.SE1 ;; 12. maximum-Loc3.P1 ;; 13. sample-Loc3.P1 ;; 14. sample-Loc4.SE1 ;; 15. sample-Loc16 ;; 16. sample-Loc13 ;; 17. sample-Loc14