Section 8. Operation
Table 109.
API Commands, Parameters, and Arguments
Parameter
Commands in which the
parameter is used
Function of parameter
Argument(s)
expr
NewestFile
Specifies path and wildcard
expression for the desired set of
files to collect.
path and wildcard expression
8.6.3.14.3 Time Syntax
API commands may have a time stamp parameter. Consult the
Clock Functions
(p.
section for more information. The format for the parameter is:
YYYY-MM-DDTHH:MM:SS.MS
where,
YYYY
= four-digit year
MM
= months into the year, one or two digits (1 to 12)
DD
= days into the month, one or two digits (1 to 31)
HH
= hours into the day, one or two digits (1 to 23)
MM
= minutes into the hour, one or two digits (1 to 59)
SS
= seconds into the minute, one or two digits (1 to 59)
MS
= sub-second, optional when specifying time, up to nine digits (1 to
<1E9)
The time parameters
2010-07-27T12:00:00.00
and
2010-07-27T14:00:00
are
used in the following URL example:
http://192.168.4.14/?command=dataquery&uri=dl:WSN30sec.CWS900_Ts
&format=html&mode=date-range&p1=2010-07-27T12:00:00&p2=2010-07-
27T14:00:00
8.6.3.14.4 Data Management — BrowseSymbols Command
BrowseSymbols
allows a web client to poll the host CR1000 for its data memory
structure. Memory structure is made up of table name(s), field name(s), and array
sub-scripts. These together constitute "symbols."
BrowseSymbols
takes the
form:
http://ip_address/?command=BrowseSymbols&uri=source:tablename.fi
eldname&format=html
BrowseSymbols
requires a minimum
.csipasswd
access level of
3
(read-only).
Table 110.
BrowseSymbols API Command Parameters
uri
Optional. Specifies the
URI
(p. 532)
for the data source. When
querying a CR1000,
uri source
,
tablename
and
fieldname
are
optional. If source is not specified,
dl
(CR1000) is assumed. A
field name is always specified in association with a table name.
If the field name is not specified, all fields are output. If
fieldname
refers to an array without a subscript, all fields
associated with that array will be output. Table name is
optional. If table name is not used, the entire URI syntax is not
needed.
format
Optional. Specifies the format of the response. The values
html
,
json
, and
xml
are valid. If this parameter is omitted, or if
the value is
html
, empty, or invalid, the response is HTML.
427
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......