Unfortunately, there may be two different types of documentation: user docs and programmer docs. You need the programmer docs. Those are usually a bit harder to come by.

From the information you have provided, it looks like the you could probably use the Device::USB::Device::bulk_read method. Unfortunately, without the docs, you have quite a bit of reverse-engineering to make sense of the data in that packet.

Honestly, it would definitely be worth your time to check with the company to see if they have any programming documentation. Debugging a binary protocol is not always the best use of time.

I though you were the author

I am. That was supposed to be a little joke. (It turned out to be even smaller than expected.<shrug/>)

G. Wade

In reply to Re^3: Data adquisition from a USB device by gwadej
in thread Data adquisition from a USB device by flope004

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.