XML over HTTP Driver Manual
Page 12 of 19
6.4
Server Side Requests and Responses S upported
Request:
http://192.168.1.5/data_arrays.xml
Response:
Section Title
Optional Selective
Data_Array.xml parameters
Parameter
Function
Legal Values
?name=DA_NAME
Specify which Data array to retrieve.
Up to 15 alphanumeric
characters.
:LENGTH
Number of values to return.
>=1
.OFFSET
Start at which offset in the Data Array.
>=0
&name= …
Add another Data Array to the
response. When adding additional
Data Arrays, Length and Offset
parameters must also be included.
Up to 15 alphanumeric
characters.
STATUS
Validity status of data. See
Appendix
B
for BITS table.
2 = Invalid
272 = Valid, Waiting
400 = Valid, Waiting, Offline
912 = Valid, Waiting, Offline
and Old
Example
http://192.168.1.5/data_arrays.xml?name=DA_REG01.01:5&name=DA_REG02.01:5
<DATA_ARRAYS
FST_XML_VERSION="1.00" MAX_INDEX="5" BRIDGE_TITLE="Lonworks Server">
<DATA_ARRAY
NAME="DA_Group" FORMAT="Byte" LENGTH="99" INDEX="1">
<DATA
OFFSET="0" DATA_AGE="3:00:39:36.736s" STATUS="0">0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
</DATA>
</DATA_ARRAY>
<DATA_ARRAY
NAME="DA_P16_1Sta" FORMAT="Byte" LENGTH="2" INDEX="2">
<DATA
OFFSET="0" DATA_AGE="34.705s" STATUS="0">0 0
</DATA>
</DATA_ARRAY>
<DATA_ARRAY
NAME="DA_Pnl16_1" FORMAT="Byte" LENGTH="8" INDEX="3">
<DATA
OFFSET="0" DATA_AGE="3:00:39:36.646s" STATUS="0">0 0 0 1 0 0 0 0
</DATA>
</DATA_ARRAY>
<DATA_ARRAY
NAME="DA_P16_2Sta" FORMAT="Byte" LENGTH="2" INDEX="4">
<DATA
OFFSET="0" DATA_AGE="34.050s" STATUS="0">0 0
</DATA>
</DATA_ARRAY>
<DATA_ARRAY
NAME="DA_Pnl16_2" FORMAT="Byte" LENGTH="8" INDEX="5">
<DATA
OFFSET="0" DATA_AGE="3:00:39:36.548s" STATUS="0">1 0 0 0 0 0 0 0
</DATA>
</DATA_ARRAY>
</DATA_ARRAYS>