I have a problem with my serial device on Windows, whereas it works fine on Linux.
It works fine on Linux: use Device::SerialPort qw( :PARAM :STAT 0.07 ); $PortObj = new Device::SerialPort ($PortName, $quiet, $lockfile) || die "Can't open $PortName: $!\n$file_exists"; } I get an error on Windows Vista: use Win32::SerialPort qw( :PARAM :STAT 0.19 ); $PortObj = new Win32::SerialPort ($PortName, $quiet, $lockfile) || die "Can't open $PortName: $!\n$file_exists"; } D:\tmp>.\dvm2000v0.1.11.pl --device="COM4" => doesn't claim to be a serial port at D:\tmp\dvm2000v0.1.11.pl line 404 Can't open COM4: No such file or directory Same error when using "\\.\COM4" as device name. When I unplug the cable, the error message "doesn't claim to be a serial port" is not printed. About the serial device: dmesg: SPCP8x5 ttyUSB0: SPCP8x5 converter USB ID: 04fc:0201 Sunplus Technology Co., Ltd What is going wrong? What can I check to fix this issue? For more details, refer to http://wirespeed.xs4all.nl/mediawiki/index.php/Velleman_DVM2000_PCLink Thnx! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/