; 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 Wed Jul 2 09:08:48 2008 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 60 1:P10 ; BATT VOLT 1:50 ; store in location 50 2:P20 ; PORT SET 1:9999 ; P8=nc, P7=nc, P6=nc, P5=nc 2:9799 ; P4=nc, P3=output, P2=nc, P1=nc 3:P89 ; IF X < = > F 1:50 ; if X from location 50 2:4 ; is < 3:12.2 ; fixed value 12.2 4:21 ; set flag F1 low 4:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 5:P89 ; IF X < = > F 1:50 ; if X from location 50 2:3 ; is >= 3:12.1 ; fixed value 12.1 4:43 ; set port C3 high 6:P95 ; END IF-DO 7:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:43 ; set port C3 high 8:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:30 ; then DO... 9:P92 ; IF TIME 1:10 ; is 10 minutes into 2:60 ; 60 minute interval 3:53 ; set port C3 low 10:P95 ; END IF-DO 11:P86 ; DO 1:41 ; set port C1 high 12: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 13: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 14: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 15:P86 ; DO 1:51 ; set port C1 low 16: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 17:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:2 ; from input channel SE2 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:-10 ; and with offset + -10 18: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 19:P3 ; PULSE 1:1 ; 1 repetition 2:8 ; from control port C8 3:2 ; as switch closure 4:8 ; store result in location 8 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 20: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:.01098 ; with multiplier * 0.01098 6:0 ; and with offset + 0 21:P17 ; INTERNAL TEMP 1:49 ; store in location 49 22:P10 ; BATT VOLT 1:50 ; store in location 50 23:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 123 24:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 25:P71 ; AVERAGE 1:4 ; 4 repetitions 2:1 ; value from location 1 26: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 27:P71 ; AVERAGE 1:1 ; 1 repetition 2:7 ; value from location 7 28:P72 ; TOTALIZE 1:1 ; 1 repetition 2:8 ; value from location 8 29:P71 ; AVERAGE 1:3 ; 3 repetitions 2:48 ; value from location 48 30: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:25 ; using 2500 mV range, reject 60 Hz 3:1 ; from input channel SE1 4:1 ; drive excitation channel E1 5:10 ; with delay 0.1 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.94 ; with multiplier Rf = 14.94 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:P105 ; SDI-12 RECORDER 1:0 ; address 0 2:1 ; command M1, see SDI-12 sensor 3:5 ; port C5 4:10 ; store result in location 10 5:-1 ; with multiplier * -1 6:0 ; and with offset + 0 21: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 22:P33 ; Z=X+Y 1:11 ; X value from location 11 2:1 ; Y value from location 1 3:12 ; store sum in location 12 23: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 24:P39 ; Z=SQRT(X) 1:13 ; X value from location 13 2:14 ; store square root in location 14 25:P36 ; Z=X*Y 1:10 ; X value from location 10 2:14 ; Y value from location 14 3:15 ; store product in location 15 26:P34 ; Z=X+F 1:15 ; X value from location 15 2:1.65 ; fixed value 1.65 3:16 ; store sum in location 16 27:P92 ; IF TIME 1:0 ; is 0 minutes into 2:180 ; 180 minute interval 3:10 ; set output flag F0 high, output array id 227 28:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 29:P71 ; AVERAGE 1:12 ; 12 repetitions 2:31 ; value from location 31 30:P71 ; AVERAGE 1:6 ; 6 repetitions 2:21 ; value from location 21 31:P70 ; SAMPLE 1:1 ; 1 repetition 2:10 ; value from location 10 32:P70 ; SAMPLE 1:1 ; 1 repetition 2:16 ; value from location 16 33:P92 ; IF TIME 1:0 ; is 0 minutes into 2:5 ; 5 minute interval 3:10 ; set output flag F0 high, output array id 233 34:P77 ; REAL TIME 1:220 ; day(midnight=prev.day) + hour-minute(midnight=2400) 35:P70 ; SAMPLE 1:1 ; 1 repetition 2:10 ; value from location 10 36:P70 ; SAMPLE 1:1 ; 1 repetition 2:16 ; value from location 16 37:P71 ; AVERAGE 1:1 ; 1 repetition 2:5 ; value from location 5 38:P70 ; SAMPLE 1:1 ; 1 repetition 2:1 ; value from location 1 39:P0 ; NOP MODE 3 1:P0 ; NOP MODE 10 1:55 2:75 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:32150 2:65295 3:2304 4:0 5:0 6:1 7:14 8:3.3241 9:1 10:00-- 11:.25 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_123 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc1 ;; 6. average-Loc2 ;; 7. average-Loc3 ;; 8. average-Loc4 ;; 9. vector_avg_spd-Loc5.P2 ;; 10. vector_avg_dir-Loc6.SE2 ;; 11. vector_dir_std_dev ;; 12. average-Loc7.DIFF5 ;; 13. totalize-Loc8.C8 ;; 14. average-Loc48.DIFF2 ;; 15. average-Loc49.panel_temperature_C ;; 16. average-Loc50.logger_battery_voltage ;; ;; output array: ;; 1. id_227 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc31 ;; 6. average-Loc32 ;; 7. average-Loc33 ;; 8. average-Loc34 ;; 9. average-Loc35 ;; 10. average-Loc36 ;; 11. average-Loc37 ;; 12. average-Loc38 ;; 13. average-Loc39 ;; 14. average-Loc40 ;; 15. average-Loc41 ;; 16. average-Loc42 ;; 17. average-Loc21 ;; 18. average-Loc22 ;; 19. average-Loc23 ;; 20. average-Loc24 ;; 21. average-Loc25 ;; 22. average-Loc26 ;; 23. sample-Loc10 ;; 24. sample-Loc16 ;; ;; output array: ;; 1. id_233 ;; 2. day ;; 3. hhmm ;; 4. sample-Loc10 ;; 5. sample-Loc16 ;; 6. average-Loc5.P2 ;; 7. sample-Loc1