LotharWerner has asked for the wisdom of the Perl Monks concerning the following question:
I'm searching for a solution to use the Win32::SerialPort with faster baud value as 115200 baud.
The perl script works fine but to slow with Win32::SerialPort.
So my idea is a faster com port communication up to 921600 baud.
For my hardware I use a MAX rs232 converter with Mbaud range.
On the other hand I ordered a USB2.0 - RS232 converter also with Mbaud driver for Windows.
I tried to set the Baud value higher as 115200 baud.
But all the time there appear an error massage like this one:
Could not set baudrate on com2 at serielle2gui2.pl line 5304 Missing REQUIRED setting for BAUD at serielle2gui2.pl line 5318 write_settings failed, closing port at serielle2gui2.pl line 5318 Closing Win32::SerialPort=HASH(0x3a67fb4) com2 at serielle2gui2.pl lin +e 5318 Tk::Error: Can't call method "write" on an undefined value at serielle +2gui2.pl l ine 5323, <DATA> line 164. Tk callback for .frame5.button6 Tk::__ANON__ at C:/Perl/site/lib/Tk.pm line 252 Tk::Button::butUp at C:/Perl/site/lib/Tk/Button.pm line 111 <ButtonRelease-1> (command bound to event)
Edit: g0n - code tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Win32::SerialPort faster connection than 115200 baud
by BrowserUk (Patriarch) on Feb 09, 2006 at 17:50 UTC | |
by rob_au (Abbot) on Feb 09, 2006 at 21:49 UTC | |
by BrowserUk (Patriarch) on Feb 09, 2006 at 22:32 UTC | |
Re: Win32::SerialPort faster connection than 115200 baud
by zentara (Archbishop) on Feb 09, 2006 at 17:03 UTC |
Back to
Seekers of Perl Wisdom