beautypg.com

Campbell Scientific CR1000 Measurement and Control System User Manual

Page 390

background image

Section 8. Operation

390 

 

 

time

Specifies the current value of the CR1000 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:

"http://www.w3.org/TR/html4/loose.dtd">

ClockCheck Response

ClockCheck Response







outcome1
time 2012-08-24 15:44:43.59
descriptionThe clock was checked

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.

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"
}