X-320M™ User's Manual
Operation
3.2.2 Diagnostics.XML
There is a special diagnostics.xml that can be requested by entering the following in the web browser
address bar:
http://192.168.1.2/diagnostics.xml
The following diagnostics.xml file is returned:
<datavalues>
<internalTemp>43.5</internalTemp>
<vin>16.5</vin>
<internal6Volt>6.2</internal6Volt>
<memoryPowerUpFlag>1</memoryPowerUpFlag>
<devicePowerUpFlag>1</devicePowerUpFlag>
<powerLossCounter>3</powerLossCounter>
</datavalues>
Diagnostic tags are given in the table below.
Tag
Description
<internalTemp>
Indicates the internal temperature of the device.
<vin>
Indicates the DC voltage that is applied to the Vin+ and Vin- terminals.
<internal6Volt>
Indicates the DC voltage of the internal 6V power supply.
<memoryPowerUpFlag>
Indicates a loss of power to the capacitor-backed real-time clock. A value
of
1
indicates that the real-time clock lost power. This should only happen if
the device has lost power for several days. There is an internal capacitor
that can power the real-time clock for an extended period of time, even if
the main power is lost. If the real-time-clock loses power, the time will have
to be reset. By default, this will read
1
until it is set to
0
.
<devicePowerUpFlag>
Indicates a loss of power to the device. This field can also be set to
0
. A
value of
1
means X-320M™ has lost power at least one time since the flag
was set to
0
.
<powerLossCounter>
This field is a count of how many times X-320M™ has lost main power.
The above flags may be cleared by requesting the diagnostics.xml file along with request parameters.
To clear the real-time clock power-loss flag:
http://192.168.1.2/diagnostics.xml?memoryPowerUpFlag=0
To clear the device power-loss flag:
http://192.168.1.2/diagnostics.xml?devicePowerUpFlag=0
To clear the powerLossCounter flag:
http://192.168.1.2/diagnostics.xml?powerLossCounter=0
Resetting of multiple flags may be done at one time by placing
&
between each request:
http://192.168.1.2/diagnostics.xml?memoryPowerUpFlag=0&devicePowerUpFlag=0
Note: Requests for the diagnostics.xml file do not require a password.
Xytronix Research & Design, Inc.
Page 95
Содержание X-320m
Страница 1: ......