Campbell Scientific CSI Web Server User Manual

Page 26

Advertising
background image

CSI Web Server

• To check the clock of the CSI Web Server:


http://192.168.4.14/weather/?command=clockcheck&format=html

• To check the clock of the CR1000 in the LoggerNet server data source:


http://192.168.4.14/weather/?command=clockcheck&URI=Server:CR1000
_ip&format=html

Datalogger

In this example, you are directly accessing the datalogger at 192.168.12.55.

• To check the clock of the datalogger:


http://192.168.12.55/?command=clockcheck&format=html

ClockSet

Sets the time for the station specified by the URI. For the CSI Web Server, a
user name and password that has at least read/write rights must be entered (or
previously entered in the same session) or the command will fail. Likewise,
for direct datalogger access, if a .csipasswd file has been sent to the datalogger,
a user name and password must be entered (or previously entered in the same
session) or the command will fail. ClockSet has the following parameters:

URI

The URI can be specified as URI=source_name:station_name.
For direct datalogger access, the URI can be omitted.

Time

The time to set the clock to, in the format of YYYY-MM-DD
T:HH:MM:SS.MS. MS is optional.

Format

The Format is the file format for the result of the command.
Options are HTML, JSON, or XML.

A result code, time, and description are returned for
ClockCheck and ClockSet. With ClockSet, the time returned is
the time before the clock was set.

Code Description

1

The clock was checked (successful)

2

The clock was set

3

The LoggerNet session failed (LoggerNet data
sources only)

4

Invalid LoggerNet logon (LoggerNet data
sources only)

5

Blocked by LoggerNet security (LoggerNet
data sources only)

20

Advertising