Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: SerialPort issues under Windows 10

by Discipulus (Canon)
on Apr 15, 2021 at 13:05 UTC ( [id://11131327]=note: print w/replies, xml ) Need Help??


in reply to SerialPort issues under Windows 10

Hello clinicalAD and welcome to the monastery and to the wonderful worldo of perl!

waiting for others answers, just shooting in the dark: try to print also the OS error in your die clause: || die "couldn't open COM1 $^E";

Then you can imports some useful constants (see also Operating methods) from the module, which inherit from Win32API::CommPort

Search here at the monastery for other useful examples, some one very recent as How to read serial port with WIN32:SerialPort?

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found