NAME
LJperl - Perl extension for native access to the LabJack U12
SYNOPSIS
use LJperl;
$idnum=-1; $demo=0; $stateIO=0; $updateIO=0; $ledOn=1;
@channels=(0,1,2,3); @gains=(0,0,0,0); $disableCal=0;
$ledOn=$1 if($ARGV[0]=~/(\d+)/);
my(@results)=LJperl::AISample($idnum,$demo,$stateIO,$updateIO,$ledOn,\@channels,\@gains,$disableCal);
print join("\n",@results);
DESCRIPTION
This can read and write digital and analog data to and from the device.
INSTALLATION
install labjack USB drivers
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
ljackuw.lib
ljackuw.h ... provided on the U12 CD or web site
Copy the above files into this directory before use.
EXPORT
None by default.
AUTHOR
Written by Chris Drake, Feb 1, 2003.
Find my current email address from the "contacts" page of my web site, at http://www.ReadNotify.com
COPYRIGHT AND LICENCE
This is free, providing that if you improve or add to this module, you email me the new version.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl.