Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Win32::SerialPort with ports > 4

by Nitrox (Chaplain)
on Jul 26, 2002 at 12:29 UTC ( [id://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?

-Nitrox

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found