; 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 Sat Jul 4 19:03:24 2015 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 60 1:P3 ; PULSE 1:1 ; 1 repetition 2:1 ; from pulse counter P1 3:2 ; as switch closure 4:1 ; store result in location 1 5:.0133 ; with multiplier * 0.0133 6:.447 ; and with offset + 0.447 2: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:2 ; store result in location 2 5:.098 ; with multiplier * 0.098 6:0 ; and with offset + 0 3:P3 ; PULSE 1:1 ; 1 repetition 2:7 ; from control port C7 3:2 ; as switch closure 4:10 ; store result in location 10 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 4:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:15 ; using 2500 mV range, fast integration 3:5 ; from input channel SE5 4:3 ; drive excitation channel E3 5:2 ; with delay 0.02 sec 6:2500 ; with 2500 mV excitation 7:3 ; store result in location 3 8:.142 ; with multiplier * 0.142 9:0 ; and with offset + 0 5:P86 ; DO 1:44 ; set port C4 high 6: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 7:P1 ; VOLT (SE) 1:2 ; 2 repetitions 2:5 ; using 2500 mV range, slow integration 3:7 ; from input channel SE7 4:4 ; store result in location 4 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 8:P11 ; TEMP (107) 1:1 ; 1 repetition 2:9 ; from input channel SE9 3:2 ; excitation channel E2 4:6 ; store result in location 6 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 9:P1 ; VOLT (SE) 1:3 ; 3 repetitions 2:5 ; using 2500 mV range, slow integration 3:10 ; from input channel SE10 4:7 ; store result in location 7 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 10:P86 ; DO 1:54 ; set port C4 low 11:P86 ; DO 1:41 ; set port C1 high 12:P86 ; DO 1:72 ; pulse port C2 13:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 14:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:11 ; store result in location 11 5:102.35 ; with multiplier * 102.35 6:0 ; and with offset + 0 15:P86 ; DO 1:72 ; pulse port C2 16:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 17:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:12 ; store result in location 12 5:107.18 ; with multiplier * 107.18 6:0 ; and with offset + 0 18:P86 ; DO 1:72 ; pulse port C2 19:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 20:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:13 ; store result in location 13 5:280.9 ; with multiplier * 280.9 6:0 ; and with offset + 0 21:P86 ; DO 1:72 ; pulse port C2 22:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 23:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:14 ; store result in location 14 5:278.55 ; with multiplier * 278.55 6:0 ; and with offset + 0 24:P86 ; DO 1:72 ; pulse port C2 25:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 26:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:15 ; store result in location 15 5:0 ; with multiplier * 0 6:0 ; and with offset + 0 27:P86 ; DO 1:72 ; pulse port C2 28:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 29:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:13 ; using 25 mV range, fast integration 3:2 ; from input channel DIFF2 4:16 ; store result in location 16 5:0 ; with multiplier * 0 6:0 ; and with offset + 0 30:P86 ; DO 1:72 ; pulse port C2 31:P22 ; EXCIT w/DEL 1:2 ; drive excitation channel E2 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 32:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:2 ; from input channel DIFF2 4:17 ; store result in location 17 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 33:P86 ; DO 1:51 ; set port C1 low 34:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:1 ; from input channel DIFF1 4:17 ; store result in location 17 5:77.52 ; with multiplier * 77.52 6:0 ; and with offset + 0 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:1210 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 37:P71 ; AVERAGE 1:1 ; 1 repetition 2:1 ; value from location 1 38: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:2 ; wind speed from location 2 5:3 ; wind direction from location 3 39:P71 ; AVERAGE 1:6 ; 6 repetitions 2:4 ; value from location 4 40:P72 ; TOTALIZE 1:1 ; 1 repetition 2:10 ; value from location 10 41:P71 ; AVERAGE 1:7 ; 7 repetitions 2:11 ; value from location 11 42:P91 ; IF FLAG/PORT 1:58 ; if port C8 is low 2:30 ; then DO... 43:P96 ; SERIAL OUT 1:71 ; storage module 1 44:P95 ; END IF-DO 45:P20 ; PORT SET 1:7999 ; P8=output, P7=nc, P6=nc, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 46:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 47:P89 ; IF X < = > F 1:25 ; if X from location 25 2:4 ; is < 3:12.2 ; fixed value 12.2 4:21 ; set flag F1 low 48:P89 ; IF X < = > F 1:25 ; if X from location 25 2:3 ; is >= 3:11.8 ; fixed value 11.8 4:48 ; set port C8 high 49:P95 ; END IF-DO 50:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 51:P92 ; IF TIME 1:6 ; is 6 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 52:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:58 ; set port C8 low 53:P95 ; END IF-DO 54:P89 ; IF X < = > F 1:10 ; if X from location 10 2:2 ; is <> 3:0 ; fixed value 0 4:30 ; then DO... 55:P86 ; DO 1:10 ; set output flag F0 high, output array id 155 56:P77 ; REAL TIME 1:1210 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 57:P70 ; SAMPLE 1:1 ; 1 repetition 2:10 ; value from location 10 58:P95 ; END IF-DO 59:P0 ; NOP MODE 2 SCAN RATE 900 1:P86 ; DO 1:41 ; set port C1 high 2:P87 ; LOOP 1:0 ; execute on every pass 2:15 ; for 15 iterations 3:P86 ; DO 1:72 ; pulse port C2 4:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:6 ; from input channel SE6 4:1 ; drive excitation channel E1 5:2 ; with delay 0.02 sec 6:2500 ; with 2500 mV excitation 7:31-- ; store result in locations 31 through 45 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 5:P95 ; END LOOP 6:P86 ; DO 1:51 ; set port C1 low 7:P59 ; BRIDGE TRANSFORM, Rs=Rf(X/(1-X)) 1:15 ; 15 repetitions 2:31 ; Rs replaces X in location 31 3:9.97 ; with multiplier Rf = 9.97 8:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:7 ; from input channel SE7 4:51 ; store result in location 51 5:.1 ; with multiplier * 0.1 6:233.15 ; and with offset + 233.15 9:P105 ; SDI-12 RECORDER 1:0 ; address 0 2:0 ; command M, initiate measurement 3:3 ; port C3 4:52 ; store result in location 52 5:-1 ; with multiplier * -1 6:0 ; and with offset + 0 10:P30 ; Z=F*10^exp 1:273.15 ; fixed value 273.15 2:0 ; times 1 (10^0) 3:53 ; store 273.15 in location 53 11:P38 ; Z=X/Y 1:51 ; X value from location 51 2:53 ; Y value from location 53 3:54 ; store ratio in location 54 12:P39 ; Z=SQRT(X) 1:54 ; X value from location 54 2:54 ; store square root in location 54 13:P36 ; Z=X*Y 1:52 ; X value from location 52 2:54 ; Y value from location 54 3:52 ; store product in location 52 14:P34 ; Z=X+F 1:52 ; X value from location 52 2:1.095 ; fixed value 1.095 3:55 ; store sum in location 55 15:P10 ; BATT VOLT 1:25 ; store in location 25 16:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 216 17:P77 ; REAL TIME 1:1210 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 18:P71 ; AVERAGE 1:14 ; 14 repetitions 2:31 ; value from location 31 19:P71 ; AVERAGE 1:2 ; 2 repetitions 2:25 ; value from location 25 20:P70 ; SAMPLE 1:2 ; 2 repetitions 2:51 ; value from location 51 21:P70 ; SAMPLE 1:1 ; 1 repetition 2:55 ; value from location 55 22:P91 ; IF FLAG/PORT 1:58 ; if port C8 is low 2:30 ; then DO... 23:P96 ; SERIAL OUT 1:71 ; storage module 1 24:P95 ; END IF-DO 25:P0 ; NOP MODE 3 1:P0 ; NOP MODE 10 1:128 2:75 3:0 4:62058 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:2648 2:27061 3:256 4:0 5:0 6:9801 7:22 8:2.9797 9:0 10:0 11:0 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_135 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc1.P1 ;; 6. vector_avg_spd-Loc2.P2 ;; 7. vector_avg_dir-Loc3.SE5 ;; 8. vector_dir_std_dev ;; 9. average-Loc4.SE7 ;; 10. average-Loc5 ;; 11. average-Loc6.SE9 ;; 12. average-Loc7.SE10 ;; 13. average-Loc8 ;; 14. average-Loc9 ;; 15. totalize-Loc10.C7 ;; 16. average-Loc11.DIFF2 ;; 17. average-Loc12.DIFF2 ;; 18. average-Loc13.DIFF2 ;; 19. average-Loc14.DIFF2 ;; 20. average-Loc15.DIFF2 ;; 21. average-Loc16.DIFF2 ;; 22. average-Loc17.DIFF1 ;; ;; output array: ;; 1. id_155 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. sample-Loc10.C7 ;; ;; output array: ;; 1. id_216 ;; 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-Loc43 ;; 18. average-Loc44 ;; 19. average-Loc25.logger_battery_voltage ;; 20. average-Loc26 ;; 21. sample-Loc51.SE7 ;; 22. sample-Loc52 ;; 23. sample-Loc55