NL115 Ethernet and CompactFlash
®
Module
PROGRAM
'CR1000
‘DL-to-Dl_Comms_1.cr1
‘Send this program to CR1000 #1
‘Remote CR1000 #2 has PBA = 2, IP addr = 192.168.7.125, and port 6785
Public BattVolt,, BattVolt_Remote
Public PTemp
Public Result1, Result2
Dim Socket as LONG
DataTable (Test,1,-1)
DataInterval
(0,12,Sec,10)
Minimum
(1,BattVolt,FP2,0,False)
EndTable
BeginProg
Scan(2,Sec,0,0)
Socket
=
TCPOpen(“192.168.7.125”,6785,0)
BatteryVoltage(BattVolt)
PanelTemp(PTemp,250)
GetVariables
(Result1,Socket,-1,2,0000,50,"Public","BattVolt",BattVolt_Remote,1)
SendVariables
(Result2,Socket,-1,2,0000,50,"Public","PTemp",PTemp_Base,1)
CallTable(Test)
NextScan
EndProg
7.1.2 HTTP Web Server
Typing the datalogger’s IP address into a web browser will bring up its home
page as shown in Figure 7-1. This default home page provides links to the
current record in all tables, including Data Tables, the Status Table and the
Public Table. Clicking on a Newest Record link will bring up the latest record
for that table. It will be automatically refreshed every 10 seconds. Links are
also provided to the last 24 records in each Data Table. Clicking on a Last 24
Records link will bring up the last 24 records for that table. The Last 24
Records Display must be manually refreshed. In addition, links are provided
to all HTML files, all XML files, and all JPEG files in the datalogger.
10
Summary of Contents for NL115
Page 2: ......
Page 36: ...Appendix A Formatting CF Card A 4...
Page 40: ...Appendix B PC CF Card Information B 4...
Page 41: ......