Question about XHC-HB04 pendant plugin.

If you have a question about the software please ask it here.

Re: Question about XHC-HB04 pendant plugin.

Postby cncdrive » Fri May 11, 2018 6:48 am

I meant premade libraries for that pendant as there are a few available, but they are buggy.
We used Windows API libraries only and made our own HID device definition and communication.
cncdrive
Site Admin
 
Posts: 2260
Joined: Tue Aug 12, 2014 11:17 pm

Re: Question about XHC-HB04 pendant plugin.

Postby Robertspark » Fri May 11, 2018 7:07 am

I used this one and followed and adapted the code.

The example allowed my to reverse engineer (find) the button codes and the jog wheel for the shuttlexpress

https://www.codeproject.com/Tips/530836 ... -Interface
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2106, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 978
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Question about XHC-HB04 pendant plugin.

Postby kig23 » Fri May 11, 2018 8:58 am

Thanks Balazs for your replay. Thanks Rob.
kig23
 
Posts: 114
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Question about XHC-HB04 pendant plugin.

Postby kig23 » Sat May 12, 2018 6:12 am

If somebody is interested in how to call Win32 and other unmanaged APIs from managed code (written in languages such as C# or VB.NET) here is a very good source of information:
https://www.pinvoke.net/

Hope the link is useful.
kig23
 
Posts: 114
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Previous

Return to Ask a question from support here

Who is online

Users browsing this forum: Google [Bot] and 10 guests