Instruction manual

FS-8707-11 Convia XML Manual Page 12 of 16
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com
6.5 Using HTTP-GET to Read FieldServer Data
The HTTP-GET command is used to request data XML data from the FieldServer. The filename specified must be
data_arrays.xml. Multiple sets of parameters can be specified using the ? separator character. The Name, offset
and length parameters are optional.
data_arrays.xml?NAME=data_array_name:length.offset
Parameter
Description
Legal Values
Data_Array_Name*
Specify the name of
the Data Array
One of the Data Array names from Data Array section. If not
specified then all Data Arrays will be displayed.
Offset*
Starting location in
Data Array
0 to (Data_Array_Length-1) as specified in Data Array section,
Default 0
Length*
Specify the length
If the length is not specified, the full length will be used.
HTTP-GET command
data_arrays.xml?NAME=DA_AI_01:3.4&NAME=DA_BI_01
XML Response
<data_arrays XML_VERSION="1.00a" BRIDGE_TITLE="Convia example config">
<data_array NAME="DA_AI_01" FORMAT="FLOAT" LENGTH="10" INDEX="1" MAX_INDEX="4">
<data OFFSET="4" DATA_AGE=45.34s STATUS="0">4.32 12.56 12.45</data>
</data_array>
<data_array NAME=DA_BI_01 FORMAT="BIT" INDEX="1" MAX_INDEX="3">
<data OFFSET="0" DATA_AGE=23.34s>1 0 1 0 1 1</data>
</data_array>
</data_arrays>