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


In reply to Win32::SerialPort faster connection than 115200 baud by LotharWerner

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.