Grandfather,
I think you are right there seems to be some kind of filtering or processing that does not pass through certain types of bytes. I have included the following two settings in my code to show errors.
$port-> error_msg(1); # prints hardware messages like "Framin
+g Error"
$port-> user_msg(1); # prints function messages like "Waiting
+ for
I was able to generate buffer overflows in a test I ran to prove the overflows and framing errors would be caught, but that does not account for the missing characters in my code. Since running the code does not generate buffer overflow errors at this time. Buffer overflows would account for missing characters at the end of the stream.
The file from the scanner is 67452 bytes and the program here downloads 62451 bytes. I was running a port monitor and watch the 01, 00, 02 and 03 come from the scanner on the download but they did not seem to get passed through Win32::SerialPort as characters. The program I am mimicing does include all those characters in the output file.
Thanks
Mike
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.