Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Win32::SerialPort with ports > 4

by Nitrox (Chaplain)
on Jul 26, 2002 at 12:29 UTC ( #185509=note: print w/replies, xml ) Need Help??

in reply to Win32::SerialPort with ports > 4

I have an update on this. I used portmon to watch the ports as I connect to them and I see the problem.

Here's a snippet of my test stub:

my $ob = Win32::SerialPort->new("COM5") || die("Couldn't open COM5"); $ob->baudrate(19200); $ob->parity("none"); $ob->databits(8); $ob->stopbits(1); $ob->handshake("none"); $ob->write_settings || die("Couldn't write serial port settings");
When I run this with COM1 (a motherboard port) portmon reports that it was opened at 19200b, which is what was requested. However, when I run this with COM5 (the add-on card) portmon reports that it was opened at 1200b. Any ideas to why the add-on card would be ignoring the baudrate request?


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-09-30 22:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found