Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: How to read serial port with WIN32:SerialPort?

by xiaoyafeng (Deacon)
on Apr 12, 2021 at 02:48 UTC ( #11131117=note: print w/replies, xml ) Need Help??

in reply to How to read serial port with WIN32:SerialPort?

Hi mastertone,

Several years ago, I did some work to connect terminal server on windows by this module. mostly Win32::SerialPort workds well, except 2 issues:
  1. on 64bit windows box, the structure of serial port changes, if you use the modules on win64, you have to apply a patch on cpan( sorry I can't reach metacpan.)
  2. when com port number larger than 9, you have to specify the name as this format" \\.\COM10". since I note you use COM10 in your script. Please refer to this node

BTW:this module does work done, but the author use old Win32::API which has been buggy and itself unmaintained for long time, anyone want to pick it up? I think serial port is still used widely.

I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

  • Comment on Re: How to read serial port with WIN32:SerialPort?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-03-22 03:55 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.