> -----Original Message-----
> From: Rajesh Vattem
> Sent: Monday, July 25, 2005 7:21 AM
>
> Hi,
> I am using Win32 serial port APIs in Active perl 5.8.2 for
> opening COM port. I am getting this error when I open the COM
> port with a different baud rate
> (eg: 921600). It works fine with baud rate 115200.
921600 ?? is that the speed you are trying to communicate serially at?
Is such a serial port speed even possible, or is that a typo?
at any rate, Win32::SerialPort is limited by its Win32API::CommPort
dependency, which I am almost certain has a maximum speed of 128K
I've never seen Win32::SerialPort run at anything faster than 115200.
and I've had some problems with serial modems over 56K
these modules were stablized about six years ago, and I dont think
theyve been updated since. Serial-Port communication is kind of
"trailing-edge" technology these days.
--robert
> The way I open the COM port is
> print STDOUT "Number of testcases: $ARGV[0]\n";
>
> $config_file = "..\\config\\uelog_port_settings.cfg"; #
> uelog_port_settings.cfg contains the
>
> # configuration parameters for the COM port to
> $uelog_port_hndle = Win32::SerialPort->start ("$config_file")
> or print "Can't open Serial
> port for UE log $config_file"; Regards, Rajesh.
>
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs