; 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 Oct 9 19:04:26 2007 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 60 1:P30 ; Z=F*10^exp 1:3015 ; fixed value 3015 2:0 ; times 1 (10^0) 3:26 ; store 3015 in location 26 2:P10 ; BATT VOLT 1:27 ; store in location 27 3:P20 ; PORT SET 1:7999 ; P8=output, P7=nc, P6=nc, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 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:27 ; if X from location 27 2:4 ; is < 3:12.2 ; fixed value 12.2 4:21 ; set flag F1 low 6:P95 ; END IF-DO 7:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 8:P89 ; IF X < = > F 1:27 ; if X from location 27 2:3 ; is >= 3:12.1 ; fixed value 12.1 4:48 ; set port C8 high 9:P95 ; END IF-DO 10:P92 ; IF TIME 1:720 ; is 720 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 11:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:30 ; then DO... 12:P92 ; IF TIME 1:10 ; is 10 minutes into 2:60 ; 60 minute interval 3:58 ; set port C8 low 13:P95 ; END IF-DO 14:P86 ; DO 1:44 ; set port C4 high 15: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 16:P1 ; VOLT (SE) 1:3 ; 3 repetitions 2:5 ; using 2500 mV range, slow integration 3:1 ; from input channel SE1 4:1 ; store result in location 1 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 17:P1 ; VOLT (SE) 1:3 ; 3 repetitions 2:5 ; using 2500 mV range, slow integration 3:4 ; from input channel SE4 4:4 ; store result in location 4 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 18:P86 ; DO 1:54 ; set port C4 low 19: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:7 ; store result in location 7 5:.8 ; with multiplier * 0.8 6:.447 ; and with offset + 0.447 20:P89 ; IF X < = > F 1:7 ; if X from location 7 2:1 ; is = 3:.447 ; fixed value 0.447 4:30 ; then DO... 21:P30 ; Z=F*10^exp 1:0 ; fixed value 0 2:0 ; times 1 (10^0) 3:7 ; store 0 in location 7 22:P95 ; END IF-DO 23: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:8 ; store result in location 8 5:.098 ; with multiplier * 0.098 6:0 ; and with offset + 0 24: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 * 1 6:0 ; and with offset + 0 25:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:11 ; from input channel SE11 4:1 ; drive excitation channel E1 5:2 ; with delay 0.02 sec 6:2500 ; with 2500 mV excitation 7:9 ; store result in location 9 8:.142 ; with multiplier * 0.142 9:0 ; and with offset + 0 26:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:5 ; from input channel DIFF5 4:11 ; store result in location 11 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 27:P17 ; INTERNAL TEMP 1:28 ; store in location 28 28:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 128 29:P70 ; SAMPLE 1:1 ; 1 repetition 2:26 ; value from location 26 30:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 31:P71 ; AVERAGE 1:6 ; 6 repetitions 2:1 ; value from location 1 32:P71 ; AVERAGE 1:1 ; 1 repetition 2:7 ; value from location 7 33:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:0 ; no standard deviation subinterval 3:0 ; avg spd, avg dir, std dev of dir (Yamartino), for anem. & vane 4:8 ; wind speed from location 8 5:9 ; wind direction from location 9 34:P72 ; TOTALIZE 1:1 ; 1 repetition 2:10 ; value from location 10 35:P71 ; AVERAGE 1:3 ; 3 repetitions 2:11 ; value from location 11 36:P71 ; AVERAGE 1:2 ; 2 repetitions 2:31 ; value from location 31 37:P71 ; AVERAGE 1:2 ; 2 repetitions 2:14 ; value from location 14 38:P71 ; AVERAGE 1:2 ; 2 repetitions 2:18 ; value from location 18 39:P71 ; AVERAGE 1:2 ; 2 repetitions 2:27 ; value from location 27 40:P71 ; AVERAGE 1:1 ; 1 repetition 2:75 ; value from location 75 41:P71 ; AVERAGE 1:1 ; 1 repetition 2:77 ; value from location 77 42:P71 ; AVERAGE 1:1 ; 1 repetition 2:80 ; value from location 80 43:P0 ; NOP MODE 2 SCAN RATE 60 1:P92 ; IF TIME 1:0 ; is 0 minutes into 2:5 ; 5 minute interval 3:30 ; then DO... 2:P86 ; DO 1:45 ; set port C5 high 3:P87 ; LOOP 1:0 ; execute on every pass 2:4 ; for 4 iterations 4:P86 ; DO 1:76 ; pulse port C6 5:P138 ; CS616 WATER CONTENT 1:1 ; 1 repetition 2:7 ; from input channel SE7 3:1 ; use control port C1 4:41-- ; store result in locations 41 through 44 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 6:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:10 ; with delay 0.1 sec 6:2500 ; with 2500 mV excitation 7:52-- ; store result in locations 52 through 55 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 7:P95 ; END LOOP 8:P86 ; DO 1:76 ; pulse port C6 9:P27 ; PERIOD AVG (SE) 1:1 ; 1 repetition 2:4 ; period in 10e-6 seconds, range 2.0 V, max 200 kHz 3:7 ; from input channel SE7 4:10 ; measure for 10 cycles 5:5 ; with timeout of 0.05 seconds 6:46 ; store result in location 46 7:.001 ; with multiplier * 0.001 8:0 ; and with offset + 0 10:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:10 ; with delay 0.1 sec 6:2500 ; with 2500 mV excitation 7:56 ; store result in location 56 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 11:P87 ; LOOP 1:0 ; execute on every pass 2:3 ; for 3 iterations 12:P86 ; DO 1:76 ; pulse port C6 13:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:10 ; with delay 0.1 sec 6:2500 ; with 2500 mV excitation 7:57-- ; store result in locations 57 through 59 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 14:P95 ; END LOOP 15:P86 ; DO 1:76 ; pulse port C6 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:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:8 ; from input channel SE8 4:12 ; store result in location 12 5:121 ; with multiplier * 121 6:0 ; and with offset + 0 18:P86 ; DO 1:76 ; pulse port C6 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:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:8 ; from input channel SE8 4:13 ; store result in location 13 5:121 ; with multiplier * 121 6:0 ; and with offset + 0 21:P86 ; DO 1:76 ; pulse port C6 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:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:8 ; from input channel SE8 4:14 ; store result in location 14 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 24:P86 ; DO 1:76 ; pulse port C6 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:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:8 ; from input channel SE8 4:15 ; store result in location 15 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 27:P86 ; DO 1:76 ; pulse port C6 28:P5 ; AC HALF BR 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:2500 ; with 2500 mV excitation 6:22 ; store result in location 22 7:1 ; with multiplier * 1 8:0 ; and with offset + 0 29:P86 ; DO 1:76 ; pulse port C6 30:P5 ; AC HALF BR 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:2500 ; with 2500 mV excitation 6:23 ; store result in location 23 7:1 ; with multiplier * 1 8:0 ; and with offset + 0 31:P86 ; DO 1:76 ; pulse port C6 32:P5 ; AC HALF BR 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:2500 ; with 2500 mV excitation 6:24 ; store result in location 24 7:1 ; with multiplier * 1 8:0 ; and with offset + 0 33:P86 ; DO 1:76 ; pulse port C6 34:P5 ; AC HALF BR 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:8 ; from input channel SE8 4:3 ; drive excitation channel E3 5:2500 ; with 2500 mV excitation 6:25 ; store result in location 25 7:1 ; with multiplier * 1 8:0 ; and with offset + 0 35:P86 ; DO 1:55 ; set port C5 low 36:P59 ; BRIDGE TRANSFORM, Rs=Rf(X/(1-X)) 1:4 ; 4 repetitions 2:22 ; Rs replaces X in location 22 3:14.98 ; with multiplier Rf = 14.98 37:P37 ; Z=X*F 1:22 ; X value from location 22 2:1000 ; fixed value 1000 3:22 ; store product in location 22 38:P37 ; Z=X*F 1:23 ; X value from location 23 2:1000 ; fixed value 1000 3:23 ; store product in location 23 39:P200 ; UNKNOWN INSTRUCTION P200 1:2 2:22 3:18 4:1.0295 5:3-- 6:2.391 7:4-- 8:1.568 9:7-- 40:P34 ; Z=X+F 1:18 ; X value from location 18 2:273.15 ; fixed value 273.15 3:18 ; store sum in location 18 41:P34 ; Z=X+F 1:19 ; X value from location 19 2:273.15 ; fixed value 273.15 3:19 ; store sum in location 19 42:P30 ; Z=F*10^exp 1:4 ; fixed value 4 2:0 ; times 1 (10^0) 3:16 ; store 4 in location 16 43:P37 ; Z=X*F 1:14 ; X value from location 14 2:256.41 ; fixed value 256.41 3:31 ; store product in location 31 44:P37 ; Z=X*F 1:15 ; X value from location 15 2:266.67 ; fixed value 266.67 3:32 ; store product in location 32 45:P47 ; Z=X^Y 1:18 ; X value from location 18 2:16 ; Y value from location 16 3:33 ; store result in location 33 46:P47 ; Z=X^Y 1:19 ; X value from location 19 2:16 ; Y value from location 16 3:34 ; store result in location 34 47:P30 ; Z=F*10^exp 1:5.669 ; fixed value 5.669 2:8-- ; times 100000000 (10^8--) 3:17 ; store 566900000 in location 17 48:P36 ; Z=X*Y 1:33 ; X value from location 33 2:17 ; Y value from location 17 3:33 ; store product in location 33 49:P36 ; Z=X*Y 1:34 ; X value from location 34 2:17 ; Y value from location 17 3:34 ; store product in location 34 50:P33 ; Z=X+Y 1:33 ; X value from location 33 2:31 ; Y value from location 31 3:31 ; store sum in location 31 51:P33 ; Z=X+Y 1:34 ; X value from location 34 2:32 ; Y value from location 32 3:32 ; store sum in location 32 52:P55 ; POLYNOMIAL, F(X) = c0 + c1X + c2X^2 + c3X^3 + c4X^4 + c5X^5 1:4 ; 4 repetitions 2:41 ; X value from location 41 3:47 ; store F(X) in location 47 4:-.0663 ; c0 = -.0663 5:-.0063 ; c1 = -.0063 6:-.0007 ; c2 = -.0007 7:0 ; c3 = 0 8:0 ; c4 = 0 9:0 ; c5 = 0 53:P55 ; POLYNOMIAL, F(X) = c0 + c1X + c2X^2 + c3X^3 + c4X^4 + c5X^5 1:1 ; 1 repetition 2:46 ; X value from location 46 3:51 ; store F(X) in location 51 4:-.187 ; c0 = -.187 5:-.037 ; c1 = -.037 6:-.335 ; c2 = -.335 7:0 ; c3 = 0 8:0 ; c4 = 0 9:0 ; c5 = 0 54:P59 ; BRIDGE TRANSFORM, Rs=Rf(X/(1-X)) 1:8 ; 8 repetitions 2:52 ; Rs replaces X in location 52 3:14.98 ; with multiplier Rf = 14.98 55:P87 ; LOOP 1:0 ; execute on every pass 2:8 ; for 8 iterations 56:P30 ; Z=F*10^exp 1:-.0719 ; fixed value -.0719 2:0 ; times 1 (10^0) 3:30 ; store -0.0719 in location 30 57:P47 ; Z=X^Y 1:52-- ; X value from locations 52 through 59 2:30 ; Y value from location 30 3:61-- ; store result in locations 61 through 68 58:P37 ; Z=X*F 1:61-- ; X value from locations 61 through 68 2:334.37 ; fixed value 334.37 3:61-- ; store product in locations 61 through 68 59:P34 ; Z=X+F 1:61-- ; X value from locations 61 through 68 2:-273.15 ; fixed value -273.15 3:61-- ; store sum in locations 61 through 68 60:P95 ; END LOOP 61:P95 ; END IF-DO 62:P86 ; DO 1:41 ; set port C1 high 63:P15 ; PORT SERIAL I/O 1:1 2:1 3:1 4:2 5:79 6:0 7:10 8:26 9:275 10:75 11:1 12:0 64:P86 ; DO 1:51 ; set port C1 low 65:P37 ; Z=X*F 1:75 ; X value from location 75 2:.5 ; fixed value 0.5 3:75 ; store product in location 75 66:P34 ; Z=X+F 1:75 ; X value from location 75 2:-273 ; fixed value -273 3:75 ; store sum in location 75 67:P37 ; Z=X*F 1:77 ; X value from location 77 2:-.001 ; fixed value -.001 3:77 ; store product in location 77 68:P34 ; Z=X+F 1:77 ; X value from location 77 2:1.45 ; fixed value 1.45 3:80 ; store sum in location 80 69:P92 ; IF TIME 1:0 ; is 0 minutes into 2:180 ; 180 minute interval 3:10 ; set output flag F0 high, output array id 269 70:P70 ; SAMPLE 1:1 ; 1 repetition 2:26 ; value from location 26 71:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 72:P71 ; AVERAGE 1:10 ; 10 repetitions 2:41 ; value from location 41 73:P71 ; AVERAGE 1:8 ; 8 repetitions 2:52 ; value from location 52 74:P71 ; AVERAGE 1:8 ; 8 repetitions 2:61 ; value from location 61 75:P70 ; SAMPLE 1:2 ; 2 repetitions 2:20 ; value from location 20 76:P71 ; AVERAGE 1:2 ; 2 repetitions 2:24 ; value from location 24 77:P0 ; NOP MODE 3 1:P0 ; NOP MODE 10 1:80 2:93 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:12009 2:27061 3:2304 4:0 5:0 6:9801 7:22 8:3.2384 9:1 10:0 11:.875 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_128 ;; 2. sample-Loc26 ;; 3. year ;; 4. day ;; 5. hhmm ;; 6. average-Loc1.SE1 ;; 7. average-Loc2 ;; 8. average-Loc3 ;; 9. average-Loc4.SE4 ;; 10. average-Loc5 ;; 11. average-Loc6 ;; 12. average-Loc7.P1 ;; 13. vector_avg_spd-Loc8.P2 ;; 14. vector_avg_dir-Loc9.SE11 ;; 15. vector_dir_std_dev ;; 16. totalize-Loc10.C7 ;; 17. average-Loc11.DIFF5 ;; 18. average-Loc12 ;; 19. average-Loc13 ;; 20. average-Loc31 ;; 21. average-Loc32 ;; 22. average-Loc14 ;; 23. average-Loc15 ;; 24. average-Loc18 ;; 25. average-Loc19 ;; 26. average-Loc27.logger_battery_voltage ;; 27. average-Loc28.panel_temperature_C ;; 28. average-Loc75 ;; 29. average-Loc77 ;; 30. average-Loc80 ;; ;; output array: ;; 1. id_269 ;; 2. sample-Loc26 ;; 3. year ;; 4. day ;; 5. hhmm ;; 6. average-Loc41 ;; 7. average-Loc42 ;; 8. average-Loc43 ;; 9. average-Loc44 ;; 10. average-Loc45 ;; 11. average-Loc46.SE7 ;; 12. average-Loc47 ;; 13. average-Loc48 ;; 14. average-Loc49 ;; 15. average-Loc50 ;; 16. average-Loc52 ;; 17. average-Loc53 ;; 18. average-Loc54 ;; 19. average-Loc55 ;; 20. average-Loc56.SE8 ;; 21. average-Loc57 ;; 22. average-Loc58 ;; 23. average-Loc59 ;; 24. average-Loc61 ;; 25. average-Loc62 ;; 26. average-Loc63 ;; 27. average-Loc64 ;; 28. average-Loc65 ;; 29. average-Loc66 ;; 30. average-Loc67 ;; 31. average-Loc68 ;; 32. sample-Loc20 ;; 33. sample-Loc21 ;; 34. average-Loc24.SE8 ;; 35. average-Loc25.SE8 ;; warnings from Campbell::Program: ;; DLD WARNING (mode 2, line 39): instruction P200 unknown to Campbell::Program