in reply to Re^2: Virtual COM port write
in thread Virtual COM port write
That means write() returned undef, which means the write failed entirely. Try checking if $^E contains a useful error message: my $count_out = $PortObj->write($sendData) or die "write failed: $^E";
Try $PortObj->error_msg(1); $PortObj->user_msg(1); right after new() as shown in the module's docs.
Make sure that your handshake really is none, that depends on how the other side of the serial connection is configured.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Virtual COM port write
by jismake (Initiate) on Apr 20, 2014 at 13:05 UTC | |
|
Re^4: Virtual COM port write
by jismake (Initiate) on Apr 22, 2014 at 07:49 UTC |