i have just tried Device::SerialPort as we need something at work to control set of video switchers over rs232.
I can send strings to a test device (a std modem) but I can't get it to send me data back properly. Sometimes i get the data as i should, but more often than not I get the command I just typed. I will attach the code in a couple of minutes when I can get back to that machine. I don't want anyone to do the work for me :), but please could i an example of a loop that just reads/executes a string, then prints the results. cheers On Tue, Mar 11, 2003 at 12:01:47 -1000, [EMAIL PROTECTED] wrote: > On 10 Mar 2003 at 13:31, David Cheng wrote: > > > Hi all, > > > > How to open, initialize, read and write to a serial port in Perl? Any advice > > helps, thanks. > > > > David > > > > David, > > I have used Win32::SerialPort and > Device::SerialPort (Linux) with excellent > results. > > You may want to go to: > > httpd:://search.cpan.org > > and search on 'SerialPort' - lots of > stuff; in the future, you may want > to do that first, before posting to > this list - then you can ask questions > like: has anyone used xxx::xxx? is it > OK on my system <configuration>? etc. > > Aloha => Beau; > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED] www.genestate.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]