Greetings Fellow Monks,
I am fairly new to Perl and have been asked to write a program for serial communications. I think that Win32API::CommPort will fit my needs but I'm having a difficult time implementing it. I need help in opening the COM port and defining the settings and I also need to be able to allow the user to set the baud rate, all the other instruments we use have the same settings except for the baud rate. I also need to be able to watch the data that comes across the serial port. If anyone could point me to some reference material or provide some advice both would be greatly appreciated.

Thank you for your time and trouble

CorpusDawg

In reply to Serial Communication using Win32::SerialPort by CorpusDawg

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.