Search found 16 matches

by Got2BeFree
Wednesday 03rd January 2018 6:31am
Forum: Lounge
Topic: Happy New Year!
Replies: 3
Views: 42

Happy New Year!

May everyone write bug-free code this year! And, to cogier and jornmo: may your forum continue to grow and do well in the coming months (and years!).

Be safe, and enjoy life every day because you'll never know when someone will try to screw it up for you!

sholzy
by Got2BeFree
Sunday 25th June 2017 2:46am
Forum: Lounge
Topic: Did you know
Replies: 2
Views: 225

Re: Did you know

Middle click on Chrome's Home button will open a new tab with your chosen "home page".

High-lite a word and middle click on Chrome's new tab button and a new tab will open with a Google search result of high-lited word.
by Got2BeFree
Thursday 18th May 2017 5:48am
Forum: General
Topic: [solved] gb.chart
Replies: 2
Views: 271

Re: gb.chart

Thanks! The .CountDataSets was the missing link! Either I overlooked it or thought it was for some other function. Now on to database mining...
by Got2BeFree
Wednesday 17th May 2017 3:57am
Forum: General
Topic: [solved] gb.chart
Replies: 2
Views: 271

[solved] gb.chart

I need to create a graph using data I'm collecting using my RPi. It seems there is very few examples and even less information about the gb.chart component. I can show one line, but I would like to display multiple lines on the chart. Anyone know if this is possible?
by Got2BeFree
Monday 02nd January 2017 3:17am
Forum: Lounge
Topic: Technical Support Request Form
Replies: 1
Views: 433

Technical Support Request Form

Technical Support Request Form Due to a change in the company's operating procedures, all technical support requests will need to be initiated by first filling in the form below. When completed, place into the Information Management inbox (also known as the wastebasket). COMPUTER PROBLEM SELF-REPOR...
by Got2BeFree
Wednesday 28th December 2016 6:16pm
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 1378

Re: Reading a USB stream from a DYMO M10 scales

I know that gb.pcre does what I did, I just haven't figured out how to use it.

\d doesn't work with grep, you have to use [0-9].
by Got2BeFree
Tuesday 27th December 2016 12:35am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 1378

Re: Reading a USB stream from a DYMO M10 scales

I decided to try to do this the right way so hidraw file numbers higher than 9 would be found, so I've spent the past 45 minutes trying to understand how the gb.pcre function works. Since I couldn't understand gb.pcre, I decided to go back to the basics and just add an additional grep to the shell c...
by Got2BeFree
Monday 26th December 2016 6:50pm
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 1378

Re: Reading a USB stream from a DYMO M10 scales

Ah, I see what you're referring to now. In that case, you will need to modify the code to fit your situation. :P ;) I doubt I'll ever have more than 10 hid devices attached, so this works for me. The computer this will eventually be used on is a dedicated pc for my inventory system. There's probably...
by Got2BeFree
Monday 26th December 2016 3:48am
Forum: General
Topic: Close a process
Replies: 2
Views: 348

Re: Close a process

From my understanding, 'Close' only closes the stream, not the process. To end a process use "Try hProcess.Kill".
by Got2BeFree
Monday 26th December 2016 3:13am
Forum: General
Topic: Reading a USB stream from a DYMO M10 scales
Replies: 17
Views: 1378

Re: Reading a USB stream from a DYMO M10 scales

I've set up sudo to let my user be root for certain commands. Not sure what you are referring to with the second question, so I'll answer it this way... If you grep the device's name (eg: "dymo" in my case) and extract the hid device name (eg: "hidraw3" in my case) and feed that to the 'cat' command...