in reply to Re: Interfacing Instruments through serial port and parllel port through PERL
in thread Interfacing Instruments through serial port and parllel port through PERL

That seems like a much more complicated way of doing it. Win32::SerialPort and Device::SerialPort are basically interchangable, and give you full control of the serial port, from baud rate, stop/start bits, parity, to break control, DTR/RTS management, etc. Very easy to use, too.

And, if someone ever ports them to the MacIntosh (and who knows, maybe they have), you'd be platform ready there.

--Chris

e-mail jcwren
  • Comment on (jcwren) RE: Re: Interfacing to serial port and parllel ports

Replies are listed 'Best First'.
RE: (jcwren) RE: Re: Interfacing to serial port and parllel ports
by splinky (Hermit) on Jul 31, 2000 at 19:06 UTC
    I'ts more complicated, but more flexible. The reason I first ended up doing it this way is I was porting a program which talked to a serial device through a port server. So, the only thing I had to do to port it was change the program Expect.pm was talking to... from telnet to cu.

    Of course, if you don't need the flexibility, your way is probably more simple.

    *Woof*