shepner has asked for the wisdom of the Perl Monks concerning the following question:
Simple operations like the one above are all fairly consistant in their behavior and the output is easily dealt with. Others, however, are not quite as simple. To summerize what Ive found:open (COM, "+<",$port) or die "Cant open $port\n"; print COM "c ",$station,"\r"; #try to connect $_=<COM>; #grab the text returned print STDOUT "Command sent: ",$_,"\n"; $_=<COM>; #grab the text returned print STDOUT "more returned text: ",$_,"\n"; close (COM);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Serial I/O and time question
by kvale (Monsignor) on Feb 19, 2004 at 23:04 UTC | |
by shepner (Initiate) on Feb 20, 2004 at 00:41 UTC | |
|
Re: Serial I/O and time question
by eyepopslikeamosquito (Archbishop) on Feb 20, 2004 at 09:10 UTC | |
|
Re: Serial I/O and time question
by duff (Parson) on Feb 20, 2004 at 21:28 UTC | |
by shepner (Initiate) on Feb 20, 2004 at 22:03 UTC | |
by duff (Parson) on Feb 24, 2004 at 20:34 UTC | |
by eyepopslikeamosquito (Archbishop) on Feb 21, 2004 at 04:04 UTC | |
by shepner (Initiate) on Feb 21, 2004 at 21:12 UTC | |
by duff (Parson) on Feb 24, 2004 at 22:28 UTC |