Campbell Scientific CR3000 Micrologger User Manual

Page 395

Advertising
background image

Section 8. Operation

395

 

time

Specifies the current value of the CR3000 real-time clock

2

. This

value will only be valid if the value of outcome is set to 1. This
value will be formatted in the same way that record time stamps
are formatted for the DataQuery response.

description

A text string that describes the outcome.

1

LoggerNet may combine a new clock check transaction with pending LoggerNet clock set

transactions

2

or LoggerNet server

 

HTML Response

When

html

is entered in the ClockCheck

format

parameter, the response will be

HTML. Following are example responses.

HTML tabular response:

HTML page source:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><html>
<head><title>ClockCheck Response</title></head>
<body>
<h1>ClockCheck Response</h1>
<table border="1">
<tr><td>outcome</td><td>1</td>
</tr><td>time</td>
<td>2012-08-24 15:44:43.59</td>
</tr><tr><td>description</td><td>The clock was checked</td></tr>
</table> </body> </html>

XML Response

When

xml

is entered in the ClockCheck

format

parameter, the response will be

formated as CSIXML

(p. 68)

with a ClockCheckResponse root element name.

Following is an example response.

<ClockCheckResponse outcome="1" time="2012-08-24T15:50:50.59"
description="The clock was checked"/>

JSON Response
When

json

is entered in the ClockCheck

format

parameter, the response will be

formated as CSIJSON

(p. 68).

Following is an example response.

Example:

{
"outcome": 1,
"time": "2012-08-24T15:52:26.22",
"description": " The clock was checked"
}

Advertising