Campbell-scientific CR1000 Measurement and Control System Manual de usuario Pagina 390

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 588
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 389
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:
<!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"
}
Vista de pagina 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 587 588

Comentarios a estos manuales

Sin comentarios