Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: r/w attached infrared head on /dev/ttyUSB0

by haukex (Bishop)
on May 26, 2019 at 00:01 UTC ( #11100542=note: print w/replies, xml ) Need Help??

in reply to Re^3: r/w attached infrared head on /dev/ttyUSB0
in thread r/w attached infrared head on /dev/ttyUSB0

change 1.300 to 1.3000000

Since I don't see any timeouts set up, I doubt that trying to read 3 megabytes instead of 300 bytes from the port would make a difference... the OP's expected result is somewhere around 200 bytes long.

  • Comment on Re^4: r/w attached infrared head on /dev/ttyUSB0

Replies are listed 'Best First'.
Re^5: r/w attached infrared head on /dev/ttyUSB0
by huck (Parson) on May 26, 2019 at 01:02 UTC

    I didnt see where it was said the perl program was killed either, and so the loop of 300 must have terminated. So i wondered if there were non printing characters being returned while the device was processing. A larger "window" might show results after some period of time.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11100542]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2020-08-08 05:40 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (51 votes). Check out past polls.