Campbell Scientific CR1000 Measurement and Control System User Manual

Page 381

Advertising
background image

Section 8. Operation

381

 

http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&
format=html&mode=most-recent&p1=70

Response: collect the five most recent records from table 
MainData* 

http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&
format=html&mode=since-time&p1=2012-09-14T8:00:00

Response: collect all records of field Cond41 since the specified 
date and time* 

http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&
format=html&mode=since-record&p1=4700

Response: collect all records since the specified record* 

http://192.168.24.106/?command=DataQuery&uri=dl:MainData.Cond41&
format=html&mode=backfill&p1=7200

Response: backfill all records since 3600 seconds ago* 

DataQuery Response

The DataQuery

forma

t parameter determines the format of the response. For

more detail concerning data response formats, see the Data File Formats

section.

When

html

is entered in the DataQuery

format

parameter, the response will be

HTML. Following are example responses.

HTML Response

HTML tabular response:

HTML page source:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>Table Display</TITLE><meta http-
equiv="Pragma" content="no-cache"><meta http-equiv="expires"
content="0">
</HEAD><BODY>
<h1>Table Name: BallastLine</h1>
<table border="1" cellpadding="2" cellspacing="0">
<tr valign="middle" align="center">
<th nowrap>TimeStamp</th>
<th nowrap>Record</th>
<th nowrap>Induced_Water</th>
</tr>

Advertising