Laserfiche WebLink
CD100 Flume with Alarms Code <br />SPDC 12 -12 -12 <br />Basic 52 <br />REM * * * * * * * * ** <br />REM Disclaimer <br />REM * * * * * * * * ** <br />REM This program was developed by Reclamation <br />REM with contributions from cooperating partners <br />REM as part of a demonstration canal modernization <br />REM project. <br />REM Others may use this program at their own risk. <br />REM Neither Reclamation nor any of the cooperating <br />REM partners make any explicit or implied assurance <br />REM as to the functionality of this program or to <br />REM the validity of the code <br />*********************************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** <br />*********************************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** <br />REM CD100 datalogging and alarm generating program. <br />REM this program is setup to measure 2 flumes with room to <br />REM add 2 more flumes <br />REM also contains user menu to edit register values, view <br />REM data, calibrate sensors, enter alarms via 6 key pad. <br />REM Edits: <br />REM 12 -11 -12 begin edit to remove csv date /time coding <br />REM and change to regular date /time in log. <br />REM 12 -12 -12 edit entire program for bugs, typos, etc. and <br />REM remove excess code and comments. <br />REM generally clean up for better readability. <br />REM change year to date volume sum date /reg calculation <br />REM to allow for years 2010 to 2029 in regs 23000 thru <br />REM 23039 (19 years each for 2 volume sums). <br />REM change battery charge algorithm to eliminate ontick, <br />REM add cmins to rtc subroutine. <br />REM excel column descriptions are: <br />REM A = date (mn *10000 +dm *100 +yr) <br />REM B = time (hrs *100 +mins) <br />REM C = Sensor 1 depth <br />REM D = sensor 1 flow <br />REM E = sensor 1 accumulated daily volume(acre feet) <br />REM F = sensor 2 depth <br />21 <br />