Search found 96 matches

by Got2BeFree
Saturday 24th December 2016 4:01am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Re: Reading a USB stream from a DYMO M10 scales

I've change the subject to better fit what this thread is about. I was able to read (and decode) the USB stream from the DYMO M10 scale using Gambas and a couple shell commands. During this exercise I've learned the dymo scales uses a raw stream to output an array of 6 elements. After finding a Perl...
by Got2BeFree
Friday 23rd December 2016 9:42am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Re: Reading a hiddev stream

I discovered using a _kill() sub works a treat. I can put whatever is needed in there to alert the user the scales is off-line.

I have to put this project to the side for awhile again. Next go around I should have enough to work this into my inventory project.
by Got2BeFree
Friday 23rd December 2016 9:07am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Re: Reading a hiddev stream

Putting the stream into an array was much easier than I was expecting.

Since the scale has an auto-off after 3 minutes idle time, I need to test for a lack of stream so I can display a message. Is there a way to test for a stream?
by Got2BeFree
Friday 23rd December 2016 5:57am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Re: Reading a hiddev stream

I've picked this up again. I found a perl script tonight that got me pointed in the right direction. Now to get the scales working with Gambas... I made 2 changes to cogier's code (marked as comment in the code): Public Sub Form_Open() hProc = Exec ["sudo", "cat", "/dev/hidr...
by Got2BeFree
Thursday 15th December 2016 5:16am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Re: Reading a hiddev stream

Sorry for the late reply, been side-tracked on other things for a few weeks and I've set this project aside for awhile. I've tried your project, cogier, but without any success. I do know the stream coming from the scale is binary. I've found a couple python scripts for the scale that I'll try to ge...
by Got2BeFree
Saturday 26th November 2016 4:13am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 24796

Reading a USB stream from a DYMO M10 scales

Hi all. Anyone have any experience reading usb hid streams? This is new territory for me and I might not be doing this correctly, so any help is greatly appreciated. I have a Dymo M10 scale that I would like to read the output stream, along trying to decode it. My first issues is an "access for...