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
Tk::Error: Can't call method "write" on an undefined value at serielle
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
(command bound to event)
Edit: g0n - code tags
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.