Change Io.xec Configuration - Vivotek IO.XEC User Manual

Ethernet i/o controller
Table of Contents

Advertisement

<out>000000000</out>
<anatemp>--</anatemp>
<anain>--</anain>
<anaout>0.00</anaout>
<digtemp>17.4</digtemp>
<digrh>78.8</digrh>
</response>

6.6 Change IO.XEC configuration

It is possible to change the hardware configuration of IO.XEC, as described on section 3.3. The
HTTP request has the following structure:
http://<address>/protect/ioconfig.cgi?anain=x&anatemp=y&temprh=z
The parameters x, y, z are the possible options present in the field "option" of ioconfig.xml.
Example:
To disable analogue input, enable LM35 temperature sensor and disable digital
temperature and relative humidity sensor:
http://ioxec/protect/ioconfig.cgi?anain=0&anatemp=1&temprh =0
6.7 Control IO.XEC outputs
6.7.1 Digital outputs
To change a digital output, issue the following HTTP (GET) request:
http://<address>/protect/set.cgi?outx=val
Where:
x:
output identifier. The following identifiers can be used:
0..7: digital outputs
8: internal buzzer
val:
resulting value. The following values can be used:
0: resets output
1: sets output
t: toggles output
Examples:
To reset output 0:
20

Advertisement

Table of Contents
loading

Table of Contents