; 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 Mon Jun 4 22:05:20 2007 local time MODE 13 13:00 1 01:} MODE 14 MODE 1 SCAN RATE 300 1:P10 ; BATT VOLT 1:38 ; store in location 38 2:P20 ; PORT SET 1:7999 ; P8=output, P7=nc, P6=nc, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 3:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:30 ; then DO... 4:P89 ; IF X < = > F 1:38 ; if X from location 38 2:4 ; is < 3:12.2 ; fixed value 12.2 4:21 ; set flag F1 low 5:P89 ; IF X < = > F 1:38 ; if X from location 38 2:3 ; is >= 3:12.2 ; fixed value 12.2 4:48 ; set port C8 high 6:P95 ; END IF-DO 7:P92 ; IF TIME 1:480 ; is 480 minutes into 2:1440 ; 1440 minute interval 3:48 ; set port C8 high 8:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:30 ; then DO... 9:P92 ; IF TIME 1:5 ; is 5 minutes into 2:60 ; 60 minute interval 3:58 ; set port C8 low 10:P95 ; END IF-DO 11:P17 ; INTERNAL TEMP 1:39 ; store in location 39 12: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:1 ; store result in location 1 5:.8 ; with multiplier * 0.8 6:.447 ; and with offset + 0.447 13: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:2 ; store result in location 2 8:.2865 ; with multiplier * 0.2865 9:0 ; and with offset + 0 14:P86 ; DO 1:41 ; set port C1 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:2 ; 2 repetitions 2:5 ; using 2500 mV range, slow integration 3:3 ; from input channel SE3 4:3 ; store result in location 3 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 17:P1 ; VOLT (SE) 1:2 ; 2 repetitions 2:5 ; using 2500 mV range, slow integration 3:5 ; from input channel SE5 4:5 ; store result in location 5 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 18:P86 ; DO 1:51 ; set port C1 low 19:P89 ; IF X < = > F 1:5 ; if X from location 5 2:3 ; is >= 3:100 ; fixed value 100 4:30 ; then DO... 20:P89 ; IF X < = > F 1:5 ; if X from location 5 2:4 ; is < 3:108 ; fixed value 108 4:30 ; then DO... 21:P30 ; Z=F*10^exp 1:100 ; fixed value 100 2:0 ; times 1 (10^0) 3:5 ; store 100 in location 5 22:P95 ; END IF-DO 23:P95 ; END IF-DO 24:P89 ; IF X < = > F 1:6 ; if X from location 6 2:3 ; is >= 3:100 ; fixed value 100 4:30 ; then DO... 25:P89 ; IF X < = > F 1:6 ; if X from location 6 2:4 ; is < 3:108 ; fixed value 108 4:30 ; then DO... 26:P30 ; Z=F*10^exp 1:100 ; fixed value 100 2:0 ; times 1 (10^0) 3:6 ; store 100 in location 6 27:P95 ; END IF-DO 28:P95 ; END IF-DO 29:P11 ; TEMP (107) 1:1 ; 1 repetition 2:7 ; from input channel SE7 3:2 ; excitation channel E2 4:40 ; store result in location 40 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 30:P3 ; PULSE 1:1 ; 1 repetition 2:2 ; from pulse counter P2 3:2 ; as switch closure 4:7 ; store result in location 7 5:.254 ; with multiplier * 0.254 6:0 ; and with offset + 0 31:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:4 ; using 250 mV range, slow integration 3:8 ; from input channel SE8 4:8 ; store result in location 8 5:1 ; with multiplier * 1 6:0 ; and with offset + 0 32:P1 ; VOLT (SE) 1:1 ; 1 repetition 2:23 ; using 25 mV range, reject 60 Hz 3:10 ; from input channel SE10 4:9 ; store result in location 9 5:100.3 ; with multiplier * 100.3 6:0 ; and with offset + 0 33:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:12 ; set flag F2 high 34:P91 ; IF FLAG/PORT 1:12 ; if flag F2 is high 2:30 ; then DO... 35:P86 ; DO 1:42 ; set port C2 high 36:P86 ; DO 1:44 ; set port C4 high 37:P87 ; LOOP 1:0 ; execute on every pass 2:6 ; for 6 iterations 38:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:10 ; delay 0.1 sec after excitation 4:0 ; with 0 mV excitation 39:P86 ; DO 1:73 ; pulse port C3 40:P27 ; PERIOD AVG (SE) 1:1 ; 1 repetition 2:4 ; period in 10e-6 seconds, range 2.0 V, max 200 kHz 3:9 ; from input channel SE9 4:10 ; measure for 10 cycles 5:5 ; with timeout of 0.05 seconds 6:10-- ; store result in locations 10 through 15 7:.001 ; with multiplier * 0.001 8:0 ; and with offset + 0 41:P95 ; END LOOP 42:P86 ; DO 1:52 ; set port C2 low 43:P86 ; DO 1:54 ; set port C4 low 44:P55 ; POLYNOMIAL, F(X) = c0 + c1X + c2X^2 + c3X^3 + c4X^4 + c5X^5 1:6 ; 6 repetitions 2:10 ; X value from location 10 3:16 ; store F(X) in location 16 4:-.187 ; c0 = -.187 5:.037 ; c1 = .037 6:.335 ; c2 = .335 7:0 ; c3 = 0 8:0 ; c4 = 0 9:0 ; c5 = 0 45:P86 ; DO 1:45 ; set port C5 high 46:P87 ; LOOP 1:0 ; execute on every pass 2:16 ; for 16 iterations 47:P86 ; DO 1:76 ; pulse port C6 48:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:1 ; delay 0.01 sec after excitation 4:0 ; with 0 mV excitation 49:P14 ; TC TEMP (DIFF) 1:1 ; 1 repetition 2:1 ; using 2.5 mV range, slow integration 3:6 ; from input channel DIFF6 4:1 ; for type T thermocouple 5:40 ; reference to temperature in location 40 6:22-- ; store result in locations 22 through 37 7:1 ; with multiplier * 1 8:0 ; and with offset + 0 50:P95 ; END LOOP 51:P86 ; DO 1:55 ; set port C5 low 52:P95 ; END IF-DO 53:P56 ; SAT VP 1:3 2:41 54:P36 ; Z=X*Y 1:41 ; X value from location 41 2:5 ; Y value from location 5 3:42 ; store product in location 42 55:P37 ; Z=X*F 1:42 ; X value from location 42 2:.1 ; fixed value 0.1 3:43 ; store product in location 43 56:P37 ; Z=X*F 1:43 ; X value from location 43 2:.1 ; fixed value 0.1 3:44 ; store product in location 44 57:P37 ; Z=X*F 1:44 ; X value from location 44 2:1.6373 ; fixed value 1.6373 3:45 ; store product in location 45 58:P40 ; Z=LN(X) 1:45 ; X value from location 45 2:45 ; store natural log in location 45 59:P37 ; Z=X*F 1:45 ; X value from location 45 2:241.88 ; fixed value 241.88 3:46 ; store product in location 46 60:P30 ; Z=F*10^exp 1:17.558 ; fixed value 17.558 2:0 ; times 1 (10^0) 3:47 ; store 17.558 in location 47 61:P35 ; Z=X-Y 1:47 ; X value from location 47 2:45 ; Y value from location 45 3:47 ; store difference in location 47 62:P38 ; Z=X/Y 1:46 ; X value from location 46 2:47 ; Y value from location 47 3:48 ; store ratio in location 48 63:P86 ; DO 1:22 ; set flag F2 low 64:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 164 65:P80 ; STORE AREA 1:1 ; final storage area 1 2:400 ; set array id to 400 66:P77 ; REAL TIME 1:1220 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 67:P70 ; SAMPLE 1:2 ; 2 repetitions 2:3 ; value from location 3 68:P73 ; MAXIMUM 1:2 ; 2 repetitions 2:0 ; output value only 3:3 ; value from location 3 69:P74 ; MINIMUM 1:2 ; 2 repetitions 2:0 ; output value only 3:3 ; value from location 3 70:P70 ; SAMPLE 1:2 ; 2 repetitions 2:5 ; value from location 5 71:P73 ; MAXIMUM 1:2 ; 2 repetitions 2:0 ; output value only 3:5 ; value from location 5 72:P74 ; MINIMUM 1:2 ; 2 repetitions 2:0 ; output value only 3:5 ; value from location 5 73:P71 ; AVERAGE 1:1 ; 1 repetition 2:9 ; value from location 9 74:P72 ; TOTALIZE 1:1 ; 1 repetition 2:7 ; value from location 7 75:P70 ; SAMPLE 1:1 ; 1 repetition 2:38 ; value from location 38 76:P70 ; SAMPLE 1:16 ; 16 repetitions 2:22 ; value from location 22 77:P70 ; SAMPLE 1:6 ; 6 repetitions 2:16 ; value from location 16 78:P70 ; SAMPLE 1:1 ; 1 repetition 2:43 ; value from location 43 79:P70 ; SAMPLE 1:1 ; 1 repetition 2:48 ; value from location 48 80:P71 ; AVERAGE 1:1 ; 1 repetition 2:1 ; value from location 1 81:P73 ; MAXIMUM 1:1 ; 1 repetition 2:0 ; output value only 3:1 ; value from location 1 82:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:0 ; no standard deviation subinterval 3:2 ; avg spd, resultant spd, resultant dir, std dev of dir (CSI), for anem. & vane 4:1 ; wind speed from location 1 5:2 ; wind direction from location 2 83:P71 ; AVERAGE 1:1 ; 1 repetition 2:8 ; value from location 8 84:P96 ; SERIAL OUT 1:71 ; storage module 1 85:P0 ; NOP MODE 2 SCAN RATE 0 MODE 3 1:P0 ; NOP MODE 10 1:48 2:64 3:0 4:62240 5:2048 MODE 12 1:0 1:0 1:0 MODE 11 1:42698 2:26114 3:256 4:99 5:0 6:1 7:7 8:3.1087 9:99 10:0 11:0 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_164 ;; ;; output array: ;; 1. id_400 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. sample-Loc3.SE3 ;; 6. sample-Loc4 ;; 7. maximum-Loc3.SE3 ;; 8. maximum-Loc3.SE3 ;; 9. minimum-Loc3.SE3 ;; 10. minimum-Loc3.SE3 ;; 11. sample-Loc5.SE5 ;; 12. sample-Loc6 ;; 13. maximum-Loc5.SE5 ;; 14. maximum-Loc5.SE5 ;; 15. minimum-Loc5.SE5 ;; 16. minimum-Loc5.SE5 ;; 17. average-Loc9.SE10 ;; 18. totalize-Loc7.P2 ;; 19. sample-Loc38.logger_battery_voltage ;; 20. sample-Loc22 ;; 21. sample-Loc23 ;; 22. sample-Loc24 ;; 23. sample-Loc25 ;; 24. sample-Loc26 ;; 25. sample-Loc27 ;; 26. sample-Loc28 ;; 27. sample-Loc29 ;; 28. sample-Loc30 ;; 29. sample-Loc31 ;; 30. sample-Loc32 ;; 31. sample-Loc33 ;; 32. sample-Loc34 ;; 33. sample-Loc35 ;; 34. sample-Loc36 ;; 35. sample-Loc37 ;; 36. sample-Loc16 ;; 37. sample-Loc17 ;; 38. sample-Loc18 ;; 39. sample-Loc19 ;; 40. sample-Loc20 ;; 41. sample-Loc21 ;; 42. sample-Loc43 ;; 43. sample-Loc48 ;; 44. average-Loc1.P1 ;; 45. maximum-Loc1.P1 ;; 46. vector_avg_spd-Loc1.P1 ;; 47. vector_resultant_spd ;; 48. vector_avg_dir-Loc2.SE1 ;; 49. vector_dir_std_dev ;; 50. average-Loc8.SE8