I have yet to use serial ports with Perl, and I am happy to say that I have not used Windows in some time, but I will guess that your device does not assert DCD and the system is waiting for DCD before reading data. There may be some other setting to ignore DCD that PowerShell quietly sets and that persists in the serial driver, or your commented-out line 7 may be part of the problem. Another monk (haukex) mentioned that apparently the Win32::SerialPort module has a special write_settings method for making configuration changes effective; you may need that too or a missing call to it may be your problem.
In reply to Re: SerialPort issues under Windows 10
by jcb
in thread SerialPort issues under Windows 10
by clinicalAD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |