; 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 Tue Nov 18 01:05:21 2014 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 60 1:P30 ; Z=F*10^exp 1:3016 ; fixed value 3016 2:0 ; times 1 (10^0) 3:47 ; store 3016 in location 47 2:P10 ; BATT VOLT 1:50 ; store in location 50 3:P20 ; PORT SET 1:7993 ; P8=output, P7=nc, P6=nc, P5=1 ms pulse 2:9939 ; P4=nc, P3=nc, P2=1 ms pulse, P1=nc 4:P89 ; IF X < = > F 1:50 ; if X from location 50 2:4 ; is < 3:12.55 ; fixed value 12.55 4:21 ; set flag F1 low 5:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 6:P89 ; IF X < = > F 1:50 ; if X from location 50 2:3 ; is >= 3:12.2 ; fixed value 12.2 4:48 ; set port C8 high 7:P95 ; END IF-DO 8:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 9:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:30 ; then DO... 10:P92 ; IF TIME 1:10 ; is 10 minutes into 2:60 ; 60 minute interval 3:58 ; set port C8 low 11:P95 ; END IF-DO 12:P91 ; IF FLAG/PORT 1:18 ; if flag F8 is high 2:30 ; then DO... 13:P86 ; DO 1:28 ; set flag F8 low 14:P86 ; DO 1:58 ; set port C8 low 15:P95 ; END IF-DO 16:P86 ; DO 1:41 ; set port C1 high 17:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:15 ; delay 0.15 sec after excitation 4:0 ; with 0 mV excitation 18:P1 ; VOLT (SE) 1:2 ; 2 repetitions 2:5 ; using 2500 mV range, slow integration 3:5 ; from input channel SE5 4:1-- ; store result in locations 1 and 2 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 19:P1 ; VOLT (SE) 1:2 ; 2 repetitions 2:5 ; using 2500 mV range, slow integration 3:7 ; from input channel SE7 4:3-- ; store result in locations 3 and 4 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 20:P86 ; DO 1:51 ; set port C1 low 21:P3 ; PULSE 1:1 ; 1 repetition 2:2 ; from pulse counter P2 3:21 ; as low level AC, discard long interval counts, output frequency (Hz) 4:5 ; store result in location 5 5:.098 ; with multiplier * 0.098 6:0 ; and with offset + 0 22:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:3 ; from input channel SE3 4:3 ; drive excitation channel E3 5:2 ; with delay 0.02 sec 6:2500 ; with 2500 mV excitation 7:6 ; store result in location 6 8:.142 ; with multiplier * 0.142 9:0 ; and with offset + 0 23:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:5 ; from input channel DIFF5 4:7 ; store result in location 7 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 24:P3 ; PULSE 1:1 ; 1 repetition 2:1 ; from pulse counter P1 3:2 ; as switch closure 4:8 ; store result in location 8 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 25:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:2 ; from input channel DIFF2 4:48 ; store result in location 48 5:.01096 ; with multiplier * 0.01096 6:0 ; and with offset + 0 26:P92 ; IF TIME 1:0 ; is 0 minutes into 2:5 ; 5 minute interval 3:30 ; then DO... 27:P105 ; SDI-12 RECORDER 1:0 ; address 0 2:1 ; command M1, see SDI-12 sensor 3:3 ; port C3 4:9 ; store result in location 9 5:-1 ; with multiplier * -1 6:0 ; and with offset + 0 28:P30 ; Z=F*10^exp 1:273.15 ; fixed value 273.15 2:0 ; times 1 (10^0) 3:13 ; store 273.15 in location 13 29:P33 ; Z=X+Y 1:13 ; X value from location 13 2:1 ; Y value from location 1 3:14 ; store sum in location 14 30:P38 ; Z=X/Y 1:14 ; X value from location 14 2:13 ; Y value from location 13 3:15 ; store ratio in location 15 31:P39 ; Z=SQRT(X) 1:15 ; X value from location 15 2:16 ; store square root in location 16 32:P36 ; Z=X*Y 1:9 ; X value from location 9 2:16 ; Y value from location 16 3:17 ; store product in location 17 33:P34 ; Z=X+F 1:17 ; X value from location 17 2:1.35 ; fixed value 1.35 3:18 ; store sum in location 18 34:P37 ; Z=X*F 1:18 ; X value from location 18 2:100 ; fixed value 100 3:18 ; store product in location 18 35:P95 ; END IF-DO 36:P17 ; INTERNAL TEMP 1:49 ; store in location 49 37:P10 ; BATT VOLT 1:50 ; store in location 50 38:P18 ; TIME 1:3 2:0 3:52 39:P89 ; IF X < = > F 1:53 ; if X from location 53 2:4 ; is < 3:121 ; fixed value 121 4:18 ; set flag F8 high 40:P89 ; IF X < = > F 1:53 ; if X from location 53 2:3 ; is >= 3:258 ; fixed value 258 4:18 ; set flag F8 high 41:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 141 42:P70 ; SAMPLE 1:1 ; 1 repetition 2:47 ; value from location 47 43:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 44:P71 ; AVERAGE 1:4 ; 4 repetitions 2:1 ; value from location 1 45:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:10 ; 10 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 46:P71 ; AVERAGE 1:1 ; 1 repetition 2:7 ; value from location 7 47:P72 ; TOTALIZE 1:1 ; 1 repetition 2:8 ; value from location 8 48:P71 ; AVERAGE 1:3 ; 3 repetitions 2:48 ; value from location 48 49:P71 ; AVERAGE 1:1 ; 1 repetition 2:18 ; value from location 18 50:P91 ; IF FLAG/PORT 1:18 ; if flag F8 is high 2:30 ; then DO... 51:P86 ; DO 1:28 ; set flag F8 low 52:P92 ; IF TIME 1:0 ; is 0 minutes into 2:5 ; 5 minute interval 3:10 ; set output flag F0 high, output array id 152 53:P77 ; REAL TIME 1:220 ; day(midnight=prev.day) + hour-minute(midnight=2400) 54:P70 ; SAMPLE 1:1 ; 1 repetition 2:18 ; value from location 18 55:P95 ; END IF-DO 56:P96 ; SERIAL OUT 1:71 ; storage module 1 57:P0 ; NOP MODE 2 SCAN RATE 300 1:P86 ; DO 1:47 ; set port C7 high 2:P87 ; LOOP 1:0 ; execute on every pass 2:12 ; for 12 iterations 3:P86 ; DO 1:76 ; pulse port C6 4:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:4 ; from input channel SE4 4:2 ; drive excitation channel E2 5:5 ; with delay 0.05 sec 6:2500 ; with 2500 mV excitation 7:31-- ; store result in locations 31 through 42 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 5:P95 ; END LOOP 6:P86 ; DO 1:57 ; set port C7 low 7:P59 ; BRIDGE TRANSFORM, Rs=Rf(X/(1-X)) 1:12 ; 12 repetitions 2:31 ; Rs replaces X in location 31 3:14.96 ; with multiplier Rf = 14.96 8:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 9:P86 ; DO 1:47 ; set port C7 high 10:P86 ; DO 1:44 ; set port C4 high 11:P86 ; DO 1:76 ; pulse port C6 12:P27 ; PERIOD AVG (SE) 1:2 ; 2 repetitions 2:4 ; period in 10e-6 seconds, range 2.0 V, max 200 kHz 3:11 ; from input channel SE11 4:10 ; measure for 10 cycles 5:5 ; with timeout of 0.05 seconds 6:21-- ; store result in locations 21 and 22 7:.001 ; with multiplier * 0.001 8:0 ; and with offset + 0 13:P86 ; DO 1:76 ; pulse port C6 14:P27 ; PERIOD AVG (SE) 1:2 ; 2 repetitions 2:4 ; period in 10e-6 seconds, range 2.0 V, max 200 kHz 3:11 ; from input channel SE11 4:10 ; measure for 10 cycles 5:5 ; with timeout of 0.05 seconds 6:23-- ; store result in locations 23 and 24 7:.001 ; with multiplier * 0.001 8:0 ; and with offset + 0 15:P86 ; DO 1:76 ; pulse port C6 16:P27 ; PERIOD AVG (SE) 1:2 ; 2 repetitions 2:4 ; period in 10e-6 seconds, range 2.0 V, max 200 kHz 3:11 ; from input channel SE11 4:10 ; measure for 10 cycles 5:5 ; with timeout of 0.05 seconds 6:25-- ; store result in locations 25 and 26 7:.001 ; with multiplier * 0.001 8:0 ; and with offset + 0 17:P86 ; DO 1:54 ; set port C4 low 18:P86 ; DO 1:57 ; set port C7 low 19:P95 ; END IF-DO 20:P92 ; IF TIME 1:0 ; is 0 minutes into 2:180 ; 180 minute interval 3:10 ; set output flag F0 high, output array id 220 21:P70 ; SAMPLE 1:1 ; 1 repetition 2:47 ; value from location 47 22:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 23:P71 ; AVERAGE 1:12 ; 12 repetitions 2:31 ; value from location 31 24:P71 ; AVERAGE 1:6 ; 6 repetitions 2:21 ; value from location 21 25:P91 ; IF FLAG/PORT 1:18 ; if flag F8 is high 2:30 ; then DO... 26:P86 ; DO 1:28 ; set flag F8 low 27:P92 ; IF TIME 1:0 ; is 0 minutes into 2:5 ; 5 minute interval 3:10 ; set output flag F0 high, output array id 227 28:P77 ; REAL TIME 1:220 ; day(midnight=prev.day) + hour-minute(midnight=2400) 29:P70 ; SAMPLE 1:1 ; 1 repetition 2:18 ; value from location 18 30:P95 ; END IF-DO 31:P96 ; SERIAL OUT 1:71 ; storage module 1 32:P0 ; NOP MODE 3 1:P0 ; NOP MODE 10 1:81 2:77 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:2 MODE 11 1:38413 2:65295 3:2304 4:1 5:0 6:1 7:14 8:3.3034 9:99 10:00-- 11:27 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_141 ;; 2. sample-Loc47 ;; 3. year ;; 4. day ;; 5. hhmm ;; 6. average-Loc1 ;; 7. average-Loc2 ;; 8. average-Loc3 ;; 9. average-Loc4 ;; 10. vector_avg_spd-Loc5.P2 ;; 11. vector_avg_dir-Loc6.SE3 ;; 12. vector_dir_std_dev ;; 13. average-Loc7.DIFF5 ;; 14. totalize-Loc8.P1 ;; 15. average-Loc48.DIFF2 ;; 16. average-Loc49.panel_temperature_C ;; 17. average-Loc50.logger_battery_voltage ;; 18. average-Loc18 ;; ;; output array: ;; 1. id_152 ;; 2. day ;; 3. hhmm ;; 4. sample-Loc18 ;; ;; output array: ;; 1. id_220 ;; 2. sample-Loc47 ;; 3. year ;; 4. day ;; 5. hhmm ;; 6. average-Loc31 ;; 7. average-Loc32 ;; 8. average-Loc33 ;; 9. average-Loc34 ;; 10. average-Loc35 ;; 11. average-Loc36 ;; 12. average-Loc37 ;; 13. average-Loc38 ;; 14. average-Loc39 ;; 15. average-Loc40 ;; 16. average-Loc41 ;; 17. average-Loc42 ;; 18. average-Loc21 ;; 19. average-Loc22 ;; 20. average-Loc23 ;; 21. average-Loc24 ;; 22. average-Loc25 ;; 23. average-Loc26 ;; ;; output array: ;; 1. id_227 ;; 2. day ;; 3. hhmm ;; 4. sample-Loc18