Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Missing data on serial readby ccherri (Acolyte) |
on Jun 15, 2013 at 00:19 UTC ( [id://1039054]=perlquestion: print w/replies, xml ) | Need Help?? |
ccherri has asked for the wisdom of the Perl Monks concerning the following question: I am trying to read streaming serial data at 115200b and cant seem to pick it all up. using the input method ($data = $Port -> input), I get the first 14 or 15 characters of every line. I need the whole line. using the read method ($data= $Port -> read(4096)) and by adjusting the read_interval I can either get partials of every line using $Port->read_interval(1); or fully every third line using $Port->read_interval(2); I need all of every line.Tx for any insight! Chris
Back to
Seekers of Perl Wisdom
|
|