Technical data

139
W&T
Subject to errors and modifications
which Web-IO Analog a value has changed. iSensor is sued to
indicate which sensor has changed. The variable iVal sends the
current analog value.
!
Please note that no distinction is made between capital
and small letters when naming the functions.
The following source text shows a small example for dynamic
display of Sensor 1.
<html>
<head>
<script language="JavaScript" type="text/javascript">
function Current (iVal, iSensor)
{
document.getElementById('currenttab').firstChild.data = iVal+'mA';
}
function sensorChanged( iDevice, iSensor, iVal )
{if (iSensor==0){
Current (iVal);}
}
</script>
</head>
<body style="background-color: #79ACDF;
font-family: Arial, Helvetica, sans-serif;">
<div align="center"><noscript> JavaScript ist nicht aktiviert
oder wird nicht unterst&uuml;tzt </noscript>
<p><applet name="Analog" archive="A.jar" code="A.class"
codebase="http://10.40.23.19" height="0" width="0" mayscript>
<param name="device" value="0">
<param name="showerrors" value="off">
<param name="sensorpolling" value="on">
<param name="pollingrate" value="1000">
Java ist nicht aktiviert oder wird nicht unterst&uuml;tzt
</applet></p>
<table width="200" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF"