69
W&T
Subject to errors and changes
The following reading function is used for this:
function sensorChanged( iDevice, iSensor, iVal )
{ Program code run when there is a change on the inputs
The above function is invoked by the applet when a temperature
change on the sensors is detected.
iDevice
specifies for which
Web-Thermograph a value changed.
iSensor
is used to indicate
which sensor changed. The variable
iVal
transmits the current
temperature value.
!
Please note that the names of the functions are
case-sensitive
The following source text shows a small example for dynamic
display of Sensor 1.
<html>
<head>
<script language="JavaScript" type="text/javascript">
function Temp (iVal, iSensor)
{
document.getElementById('temptab').firstChild.data = iVal+'°C';
}
function sensorChanged( iDevice, iSensor, iVal )
{
Temp (iVal, iSensor);
}
</script>
</head>
<body style="background-color: #79ACDF;
font-family: Arial, Helvetica, sans-serif;">
<div align="center"><noscript> JavaScript is not activated
or not supported </noscript>
<p><applet name="Analog" archive="A.jar" code="A.class"
codebase="http://192.168.0.5" height="0" width="0" mayscript>
Содержание Web-Thermo-Hygrobarograph 57613
Страница 20: ...20 W T Design and positioning of the graph is configurable 2 2 Config menu...
Страница 31: ...31 W T Subject to errors and changes 3 5 1 Basic Settings 3 5 Configuration of the graphics settings...
Страница 37: ...37 W T Subject to errors and changes...
Страница 42: ...42 W T 3 8 2 Alarm X Here you configure the desired alarm conditions...
Страница 90: ...90 W T 7 6 Declaration of Conformity...