My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
C150227 Final Report
CWCB
>
Grants
>
DayForward
>
C150227 Final Report
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
3/27/2013 7:43:05 AM
Creation date
3/26/2013 1:12:58 PM
Metadata
Fields
Template:
Grants
Applicant
South Platte Ditch Company
Grant Type
Non-Reimbursable
Fiscal Year (i.e. 2008)
2006
Project Name
Canal Modernization and Radio Telemetry Demonstration Project
CWCB Section
Finance
Contract/PO #
C150227
Grants - Doc Type
Final Deliverables
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
70
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
REM determine if time for poll <br />REM also calculate number of minutes to next poll <br />REM register 7095 = polling interval <br />REM include seconds in polling interval <br />10100 pmins = mins /regread(7095)+ secs /101 <br />REM see if time for poll. set lflag if time <br />10110 if pmins - int(pmins) =0 then lflag =l <br />REM calculate number of minutes to next poll <br />10120 pmins = mins /regread(7095) <br />10130 pmins= regread(7095) *(int(pmins) +l) -1 <br />REM update display only when changed <br />10190 IF (59- SECS) =TUPD THEN GOTO 10250 <br />10200 PRINT "Next Log: ",PMINS -MINS, "min ",59 - SECS, "sec ", CR, <br />REM display poll time to lcd <br />10210 PRINT #2,CHR(12), <br />10220 PRINT #2, "Next Log : ",PMINS - MINS, "m ",59 - SECS, "s" <br />10230 PRINT # 2, CHR(254),CHR(71),CHR(4),CHR(3), "Press any key" <br />10240 PRINT # 2, CHR(254),CHR(71),CHR(6),CHR(4), "for Menu" <br />REM set flag to scan every minute, increment charge <br />REM minutes variable. <br />10250 IF SECS =O THEN SFLAG =1 : CMINS= CMINS +1 <br />REM update time to update display variable <br />10260 TUPD =59 -SECS <br />10290 RETURN <br />REM ************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** <br />REM calculate depth, flow & volume for poll & log <br />REM ************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** <br />REM read and average depth sensor <br />11000 X =0 : DPTHSUMI =O : DPTHSUM2 =0 <br />REM send update message to LCD <br />11020 PRINT #2,CHR(12), <br />REM turn on excitation voltage to sensor <br />11030 REGWRITE 4823, 1 <br />REM get sensor warmup value <br />11032 T= REGREAD(4103) <br />11033 IF T =0 THEN GOTO 11070 <br />REM sensor warmup routine <br />11035 PRINT #2, "Sensor Warmup On..." <br />REM clear tick timer <br />11035 CLEAR TICK(0) <br />REM set sensor "warmup" delay (seconds) <br />11040 TDLY= TICK(0) +T <br />REM let user know sensor warmup is starting <br />11045 PRINT INT(TDLY), "Second Sensor Warmup active" <br />REM loop here until delay expires <br />11050 DO <br />11055 PRINT "Seconds left > ",TDLY- TICK(0),CR, <br />36 <br />
The URL can be used to link to this page
Your browser does not support the video tag.