Buffer read with Win32API::CommPort

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm a newb with Perl.  I'm using the Win32API::CommPort module and seem
to have most of what I need working.  One issue I'm hitting a wall on
is how to read everything in the serial in buffer.  The data I'm trying
to read doesn't have newline/linefeed (I can read that type of input).

I've read through all the docs/examples I could find and I can't seem
to find anything like this.

Sorry if I'm not describing this correctly.  TIA

Re: Buffer read with Win32API::CommPort

Figured it out.
my $DataRed = $DevicePort->read(255);
does what I need.

Site Timeline