Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by huck (Prior)
on May 25, 2019 at 23:31 UTC ( [id://11100538]=note: print w/replies, xml ) Need Help??


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

Given that you are running at 300 baud, i would like to see what happens when you change 1.300 to 1.3000000

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

Replies are listed 'Best First'.
Re^4: r/w attached infrared head on /dev/ttyUSB0
by haukex (Archbishop) on May 26, 2019 at 00:01 UTC
    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.

      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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found