This is an old revision of the document!

Table of Contents

Data Logging


Perl program is on it's way, writing it now.

LiveGraph - Excellent graphing software written in Java, I use it as a frontend.

Perl Script


sudo cpan -i Device::SerialPort
sudo cpan -i DBI
sudo cpan -i LWP::Simple
sudo cpan -i Time::HiRes

# Delay between updates
$num=pack( 'L>',120000);
print "Test data:\t$buf\n";
#my @data = unpack('L>*', $buf);
@values=unpack "L>*", $buf;		# < or > specifies endianness
#print $values;
 foreach my $val (@values) {
    print "$val\n";
projects/logger.1363207332.txt.gz · Last modified: 2014/11/13 10:50 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki