Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| projects:logger [2013/03/12 14:44] – photonicsguy | projects:logger [2014/11/13 10:50] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Software ===== | ===== Software ===== | ||
| - | [[http:// | + | Perl program is on it's way, writing it now. |
| - | <file bash> alias livegraph=" | + | |
| + | [[http:// | ||
| ==== Perl Script ==== | ==== Perl Script ==== | ||
| + | |||
| + | === Install === | ||
| <file bash> | <file bash> | ||
| Line 10: | Line 14: | ||
| sudo cpan -i LWP::Simple | sudo cpan -i LWP::Simple | ||
| sudo cpan -i Time::HiRes | sudo cpan -i Time::HiRes | ||
| - | </ | ||
| + | </ | ||
| + | === Files === | ||
| <file perl logger.inc.pl> | <file perl logger.inc.pl> | ||
| $SERIALBAUD=19200; | $SERIALBAUD=19200; | ||
| Line 19: | Line 24: | ||
| $DataFile='/ | $DataFile='/ | ||
| + | </ | ||
| + | |||
| + | <file perl bytetest.pl># | ||
| + | $num=pack( ' | ||
| + | # | ||
| + | $buf=" | ||
| + | print "Test data: | ||
| + | # | ||
| + | # | ||
| + | #my @data = unpack(' | ||
| + | |||
| + | @values=unpack " | ||
| + | #print $values; | ||
| + | | ||
| + | print " | ||
| + | } | ||
| </ | </ | ||