Section 8. Operation
472
FIGURE 108: Customized Numeric-Monitor Web Page
Custom Web Page HTML
'This program example demonstrates the creation of a custom web page that resides in the
'WebPageBegin to CR3000. In this example program, the default home page is replaced by
'using create a file called default.html. The graphic in the web page (in this case, the
'Campbell Scientific logo) comes from a file called SHIELDWEB2.JPG. The graphic file
'must be copied to the CR3000 CPU: drive using File Control in the datalogger
'support software. A second web page is created that contains links to the CR3000
'data tables.
'NOTE: The "_" character used at the end of some lines allows a code statement to be
'wrapped to the next line.
Dim
Commands
As String
* 200
Public
Time(9), RefTemp,
Public
Minutes
As String
, Seconds
As String
, Temperature
As String
DataTable
(CRTemp,True,-1)
DataInterval
(0,1,Min,10)
Sample
(1,RefTemp,FP2)
Average
(1,RefTemp,FP2,False)
EndTable
'Default HTML Page
WebPageBegin
("default.html",Commands)
HTTPOut
("<html>")
HTTPOut
("<style>body {background-color: oldlace}</style>")
HTTPOut
("<body><title>Campbell Scientific CR3000 Datalogger</title>")
HTTPOut
("<h2>Welcome To the Campbell Scientific CR3000 Web Site!</h2>")
HTTPOut
("<tr><td style=" + CHR(34) +"width: 290px" + CHR(34) + ">")
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......