Net::Elexol::EtherIO24

Net::Elexol::EtherIO24 is an object interface for manipulating Elexol Ether I/O 24 units with Perl.
Download

Net::Elexol::EtherIO24 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chris Luke
  • Publisher web site:
  • http://search.cpan.org/~chrisy/Net-Elexol-EtherIO24-0.18/lib/Net/Elexol/EtherIO24.pm

Net::Elexol::EtherIO24 Tags


Net::Elexol::EtherIO24 Description

Net::Elexol::EtherIO24 is an object interface for manipulating Elexol Ether I/O 24 units with Perl. Net::Elexol::EtherIO24 is an object interface for manipulating Elexol Ether I/O 24 units with Perl.SYNOPSIS use Net::Elexol::EtherIO24; Net::Elexol::EtherIO24->debug(1); my $eio = Net::Elexol::EtherIO24->new(target_addr=>$addr, threaded=>1); for my $line (0..23) { print "line $line dir: ".$eio->get_line_dir($line)." ". "line $line val: ".$eio->get_line($line)."n"; } $eio->close;The Ether I/O 24 manufactured by Elexol is an inexpensive and simple to use/operate device designed for remote control or remote sensing. It has 24 lines that are each programmable for input or output and a variety of other things.The control protocol is relatively simplistic and UDP based. This Perl module attempts to abstract this protocol and add other features along the way. In particular, programmers are encouraged to investigate setting direct_writes => 0 and direct_reads => 0 in the constructor for network efficiency (since these are not yet the defaults).It is thread savvy and will use threads unless told not to. It might perform adequately without threads, but various functionality would be reduced as a result. In particular, the module functions in a nice asynchronous way when it can use threads. Threads support requires Perl 5.8. This module may not function correctly, or even compile, with an older Perl. Your Perl will require Threads to be enabled at compile-time, even if you don't use Threads.It uses IO::Socket::INET for network I/O and Time::HiRes for timing. It was developed using Perl on a FreeBSD and a Linux system, but has been known to function using Perl with Cygwin or ActivePerl on Windows. Requirements: · Perl


Net::Elexol::EtherIO24 Related Software