in reply to Re^2: Win32::SerialPort v. New computers
in thread Win32::SerialPort v. New computers
For this sort of application you are never going to have to "learn USB" in order to drive a serial port. The driver stack for the USB device isolates you from having to know anything about the USB layer - you simply use the usual OS provided API for the device. In the current case, so long as you are using the Windows provided serial API (which, as far as I know Win32::SerialPort does), it really doesn't matter if you use a serial port provided on the computer's mother board, or on an ISA card, or by a PCMCIA card or as a USB/serial dongle. The hard wired COM1 constrain however will cause you grief real quick!
Using the module which (I presume) uses the Windows serial API allows any of the three options you've suggested without any code changes aside from configuration issues such as the COM port used.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32::SerialPort v. New computers
by afoken (Chancellor) on Nov 02, 2011 at 10:52 UTC | |
|
Re^4: Win32::SerialPort v. New computers
by hennesse (Beadle) on Nov 03, 2011 at 03:24 UTC | |
by afoken (Chancellor) on Nov 03, 2011 at 13:06 UTC | |
by hennesse (Beadle) on Nov 08, 2011 at 03:30 UTC | |
by afoken (Chancellor) on Nov 08, 2011 at 13:35 UTC | |
by hennesse (Beadle) on Nov 10, 2011 at 17:47 UTC | |
|