|
Program library and cgi-scripts for control and and monitoring
from Linux, FreeBSD, SUN/Solaris, HP-UX, PCC, DUC and Windows
IpIOraditex does not have its own WEBserver. Command line control over
TCP/IP addressed device.
Example
#! /bin/tcsh -f
echo "======>>> test setting IP with arp"
/usr/sbin/arp -S 10.0.1.41 00:00:00:10:30:50 pub
echo "======>>> test ping"
/sbin/ping -c 3 -s 12 10.0.1.41
echo "======>>> test arp request"
/usr/sbin/arp -a -d
echo "======>>> test ping"
/sbin/ping -c 3 -s 12 10.0.1.41
# set/read DAC:s
echo "======>>> testing set/read DAC:s"
ipdacmd -h iomodul1.raditex.se -p 8 -a 1 -w 128
ipdacmd -h iomodul1.raditex.se -p 8 -a 1 -r
# test relays
echo "======>>> test relays"
iprelcmd -h iomodul1.raditex.se -p 8 -w 0x0f
iprelcmd -h iomodul1.raditex.se -p 8 -r
# test digital I/O
echo "======>>> test digital I/O"
ipdiocmd -h iomodul1.raditex.se -p 8 -w 0x0f
ipdiocmd -h iomodul1.raditex.se -p 8 -r
|