Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • 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> <u> <ul>
  • 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 intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found