Instruction manual

FS-8707-11 Convia XML Manual Page 11 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.4.2 Child Elements
Element
Name
Function
Legal Values
Data_Array
Defines the Data Arrays present in the
FieldServer.
One Child Element will be reported for each
Data Array defined under the Data_Arrays
section in the configuration file.
Attributes
Function
Legal Values
NAME
Name of Data Array
String of maximum 15 characters
FORMAT
Data Format of the Data Array
FLOAT for floating point data, or BIT for binary
data
LENGTH
Number of data items in this Data Array
Integer value
MAX_INDEX
Identifies the maximum number of Data_Arrays
on the FieldServer.
This value is not specified but is returned on
polling the FieldServer.
INDEX
Identifies the Data Array number. The first Data
Array will be and Index of 1. The last Data Array
will have an index of Max_Index.
Any positive integer <= MAX_INDEX
Values
Function
Legal Values
None
Not Applicable
No values are contained in Child Elements
6.4.3 Sub-Child Elements
Element
Name
Function
Legal Values
data
Contains the data in the Data Array
Only one Sub-Child element exists for every Data Array
defined.
Attributes
Function
Legal Values
OFFSET
Defines start offset into the
Data_Array
Integer value > 0 and smaller than the length of the
Data Array
DATA_AGE
Indicates how old the data was when
the data child element was reported
String indicated the time with 2 decimal places and
terminated with the characters
STATUS
Indicates the status of the data
0 = Data is valid
>0 = Data is unreliable or invalid
Values
Function
Legal Values
Data Array
value
Contains a list of values pertaining to
the specified Data Array
The legal values depend on the FORMAT of the Data
Array and take the form of a space separated string of
values.