Campbell Scientific CR3000 Micrologger User Manual

Page 402

Advertising
background image

Section 8. Operation

402 

 

 

Page source template:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>ListFiles Response</title>
</head>
<body>
<h1>ListFiles Response</h1>
<table border="1">
<tr>
<td><b>Path</b></td>
<td><b>Is Directory</b></td>
<td><b>Size</b></td>
<td><b>Last Write</b></td>
<td><b>Run Now</b></td>
<td><b>Run On Power Up</b></td>
<td><b>Read Only</b></td>
<td><b>Paused</b></td>
</tr>
<tr>
<td>CPU:</td>
<td>true</td>
<td>50000</td>
<td>YYYY-mm-dd hh:mm:ss.xxx</td>
<td>false</td>
<td>false</td>
<td>false</td>
<td>false</td>
</tr>
<tr>
<td>CPU:lights-web.cr1</td>
<td>false</td>
<td>16994</td>
<td>YYYY-mm-dd hh:mm:ss.xxx</td>
<td>true</td>
<td>true</td>
<td>false</td>
<td>false</td>
</tr>
</table>

XML Response

When

xml

is entered in the ListFiles

format

parameter, the response will be

formated as CSIXML

(p. 68)

with a ListFilesResponse root element name.

Following is an example response.

<ListFilesResponse>
<file
is_dir="true"
path="CPU:"
size="50000"
last_write="yyyy-mm-ddThh:mm:ss.xxx"
run_now="false"
run_on_power_up="false"
read_only="false"
paused="false" />
<file
is_dir="false"

Advertising