; 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 Thu Jul 30 18:35:23 2009 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:8 ; from control port C8 3:2 ; as switch closure 4:19 ; store result in location 19 5:.09964 ; with multiplier * 0.09964 6:0 ; and with offset + 0 4:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:25 ; using 2500 mV range, reject 60 Hz 3:6 ; from input channel SE6 4:2 ; drive excitation channel E2 5:1 ; with delay 0.01 sec 6:900 ; with 900 mV excitation 7:3 ; store result in location 3 8:.78 ; with multiplier * 0.78 9:0 ; and with offset + 0 5:P86 ; DO 1:41 ; set port C1 high 6: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 7:P1 ; VOLT (SE) 1:3 ; 3 repetitions 2:5 ; using 2500 mV range, slow integration 3:7 ; from input channel SE7 4:7 ; store result in location 7 5:.1 ; with multiplier * 0.1 6:-40 ; and with offset + -40 8:P1 ; VOLT (SE) 1:3 ; 3 repetitions 2:5 ; using 2500 mV range, slow integration 3:10 ; from input channel SE10 4:10 ; store result in location 10 5:.1 ; with multiplier * 0.1 6:0 ; and with offset + 0 9:P86 ; DO 1:51 ; set port C1 low 10:P86 ; DO 1:44 ; set port C4 high 11:P86 ; DO 1:75 ; pulse port C5 12:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:25 ; delay 0.25 sec after excitation 4:0 ; with 0 mV excitation 13:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:3 ; using 25 mV range, slow integration 3:1 ; from input channel DIFF1 4:13 ; store result in location 13 5:-278.55 ; with multiplier * -278.55 6:0 ; and with offset + 0 14:P86 ; DO 1:75 ; pulse port C5 15:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:25 ; delay 0.25 sec after excitation 4:0 ; with 0 mV excitation 16:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:3 ; using 25 mV range, slow integration 3:1 ; from input channel DIFF1 4:14 ; store result in location 14 5:252.53 ; with multiplier * 252.53 6:0 ; and with offset + 0 17:P86 ; DO 1:75 ; pulse port C5 18:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:25 ; delay 0.25 sec after excitation 4:0 ; with 0 mV excitation 19:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:3 ; using 25 mV range, slow integration 3:1 ; from input channel DIFF1 4:15 ; store result in location 15 5:128.7 ; with multiplier * 128.7 6:0 ; and with offset + 0 20:P86 ; DO 1:75 ; pulse port C5 21:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:25 ; delay 0.25 sec after excitation 4:0 ; with 0 mV excitation 22:P2 ; VOLT (DIFF) 1:1 ; 1 repetition 2:3 ; using 25 mV range, slow integration 3:1 ; from input channel DIFF1 4:16 ; store result in location 16 5:119.76 ; with multiplier * 119.76 6:0 ; and with offset + 0 23:P86 ; DO 1:75 ; pulse port C5 24:P22 ; EXCIT w/DEL 1:1 ; drive excitation channel E1 2:0 ; delay 0 sec w/ excitation 3:25 ; delay 0.25 sec after excitation 4:0 ; with 0 mV excitation 25: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:1 ; with multiplier * 1 6:0 ; and with offset + 0 26:P86 ; DO 1:54 ; set port C4 low 27:P17 ; INTERNAL TEMP 1:49 ; store in location 49 28:P10 ; BATT VOLT 1:50 ; store in location 50 29:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 129 30:P77 ; REAL TIME 1:1210 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 31:P71 ; AVERAGE 1:1 ; 1 repetition 2:1 ; value from location 1 32:P69 ; WIND VECTOR 1:1 ; 1 repetition 2:10 ; 10 scans for standard deviation subinterval 3:2 ; avg spd, resultant spd, resultant dir, std dev of dir (CSI), for anem. & vane 4:2 ; wind speed from location 2 5:3 ; wind direction from location 3 33:P71 ; AVERAGE 1:6 ; 6 repetitions 2:7 ; value from location 7 34:P71 ; AVERAGE 1:5 ; 5 repetitions 2:13 ; value from location 13 35:P72 ; TOTALIZE 1:1 ; 1 repetition 2:19 ; value from location 19 36:P71 ; AVERAGE 1:2 ; 2 repetitions 2:49 ; value from location 49 37:P71 ; AVERAGE 1:5 ; 5 repetitions 2:23 ; value from location 23 38:P70 ; SAMPLE 1:14 ; 14 repetitions 2:35 ; value from location 35 39:P70 ; SAMPLE 1:2 ; 2 repetitions 2:51 ; value from location 51 40:P91 ; IF FLAG/PORT 1:56 ; if port C6 is low 2:30 ; then DO... 41:P96 ; SERIAL OUT 1:71 ; storage module 1 42:P95 ; END IF-DO 43:P20 ; PORT SET 1:9979 ; P8=nc, P7=nc, P6=output, P5=nc 2:9999 ; P4=nc, P3=nc, P2=nc, P1=nc 44:P92 ; IF TIME 1:0 ; is 0 minutes into 2:30 ; 30 minute interval 3:30 ; then DO... 45: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 46:P89 ; IF X < = > F 1:50 ; if X from location 50 2:3 ; is >= 3:12.1 ; fixed value 12.1 4:46 ; set port C6 high 47:P95 ; END IF-DO 48:P92 ; IF TIME 1:750 ; is 750 minutes into 2:1440 ; 1440 minute interval 3:46 ; set port C6 high 49:P92 ; IF TIME 1:5 ; is 5 minutes into 2:30 ; 30 minute interval 3:30 ; then DO... 50:P91 ; IF FLAG/PORT 1:21 ; if flag F1 is low 2:56 ; set port C6 low 51:P95 ; END IF-DO 52:P0 ; NOP MODE 2 SCAN RATE 600 1:P20 ; PORT SET 1:9999 ; P8=nc, P7=nc, P6=nc, P5=nc 2:1999 ; P4=set high, P3=nc, P2=nc, P1=nc 2:P87 ; LOOP 1:0 ; execute on every pass 2:14 ; for 14 iterations 3:P86 ; DO 1:75 ; pulse port C5 4:P4 ; EX-DEL-SE 1:1 ; 1 repetition 2:5 ; using 2500 mV range, slow integration 3:3 ; from input channel SE3 4:1 ; drive excitation channel E1 5:20 ; with delay 0.2 sec 6:2500 ; with 2500 mV excitation 7:21-- ; store result in locations 21 through 34 8:.0004 ; with multiplier * 0.0004 9:0 ; and with offset + 0 5:P95 ; END LOOP 6:P20 ; PORT SET 1:9999 ; P8=nc, P7=nc, P6=nc, P5=nc 2:999 ; P4=set low, P3=nc, P2=nc, P1=nc 7:P59 ; BRIDGE TRANSFORM, Rs=Rf(X/(1-X)) 1:14 ; 14 repetitions 2:21 ; Rs replaces X in location 21 3:100 ; with multiplier Rf = 100 8:P34 ; Z=X+F 1:8 ; X value from location 8 2:273.15 ; fixed value 273.15 3:58 ; store sum in location 58 9:P105 ; SDI-12 RECORDER 1:0 ; address 0 2:1 ; command M1, see SDI-12 sensor 3:2 ; port C2 4:55 ; store result in location 55 5:-100 ; with multiplier * -100 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:59 ; store 273.15 in location 59 11:P38 ; Z=X/Y 1:58 ; X value from location 58 2:59 ; Y value from location 59 3:59 ; store ratio in location 59 12:P39 ; Z=SQRT(X) 1:59 ; X value from location 59 2:59 ; store square root in location 59 13:P36 ; Z=X*Y 1:55 ; X value from location 55 2:59 ; Y value from location 59 3:56 ; store product in location 56 14:P34 ; Z=X+F 1:56 ; X value from location 56 2:154 ; fixed value 154 3:57 ; store sum in location 57 15:P92 ; IF TIME 1:0 ; is 0 minutes into 2:60 ; 60 minute interval 3:10 ; set output flag F0 high, output array id 215 16:P77 ; REAL TIME 1:1210 ; year + day(midnight=prev.day) + hour-minute(midnight=2400) 17:P71 ; AVERAGE 1:14 ; 14 repetitions 2:21 ; value from location 21 18:P71 ; AVERAGE 1:3 ; 3 repetitions 2:55 ; value from location 55 19:P91 ; IF FLAG/PORT 1:56 ; if port C6 is low 2:30 ; then DO... 20:P96 ; SERIAL OUT 1:71 ; storage module 1 21:P95 ; END IF-DO 22:P0 ; NOP MODE 3 1:P0 ; NOP MODE 10 1:60 2:100 3:0 4:573441 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:2 2:27061 3:1280 4:99 5:99 6:9801 7:22 8:2.9913 9:64 10:95 11:21.75 ;; CAUTION: experimental output tags follow: ;; ;; output array: ;; 1. id_129 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc1.P1 ;; 6. vector_avg_spd-Loc2.P2 ;; 7. vector_resultant_spd ;; 8. vector_avg_dir-Loc3.SE6 ;; 9. vector_dir_std_dev ;; 10. average-Loc7.SE7 ;; 11. average-Loc8 ;; 12. average-Loc9 ;; 13. average-Loc10.SE10 ;; 14. average-Loc11 ;; 15. average-Loc12 ;; 16. average-Loc13.DIFF1 ;; 17. average-Loc14.DIFF1 ;; 18. average-Loc15.DIFF1 ;; 19. average-Loc16.DIFF1 ;; 20. average-Loc17.DIFF1 ;; 21. totalize-Loc19.C8 ;; 22. average-Loc49.panel_temperature_C ;; 23. average-Loc50.logger_battery_voltage ;; 24. average-Loc23 ;; 25. average-Loc24 ;; 26. average-Loc25 ;; 27. average-Loc26 ;; 28. average-Loc27 ;; 29. sample-Loc35 ;; 30. sample-Loc36 ;; 31. sample-Loc37 ;; 32. sample-Loc38 ;; 33. sample-Loc39 ;; 34. sample-Loc40 ;; 35. sample-Loc41 ;; 36. sample-Loc42 ;; 37. sample-Loc43 ;; 38. sample-Loc44 ;; 39. sample-Loc45 ;; 40. sample-Loc46 ;; 41. sample-Loc47 ;; 42. sample-Loc48 ;; 43. sample-Loc51 ;; 44. sample-Loc52 ;; ;; output array: ;; 1. id_215 ;; 2. year ;; 3. day ;; 4. hhmm ;; 5. average-Loc21 ;; 6. average-Loc22 ;; 7. average-Loc23 ;; 8. average-Loc24 ;; 9. average-Loc25 ;; 10. average-Loc26 ;; 11. average-Loc27 ;; 12. average-Loc28 ;; 13. average-Loc29 ;; 14. average-Loc30 ;; 15. average-Loc31 ;; 16. average-Loc32 ;; 17. average-Loc33 ;; 18. average-Loc34 ;; 19. average-Loc55 ;; 20. average-Loc56 ;; 21. average-Loc57