under http://helmpcb.com/software/usb-hid-template-for-visual-basic-2005 you will find a template for "Visual Basic" to set up a hid communication with a usb device.
I want to use the included mcHID.dll to communicate with a hid device by labview. Now I have some problems to configure the call library function node for the dll to set up the hid communication. The API of the dll is describe in the file mcHIDInterface.dll.
Maybe someone could set up the first functions in an example. I am using LabView 2012.
Thanks a lot an best regards,
The solution is very simple. I found a complete LabVIEW Library which includes the mcHID.dll. I hope it is okay to attached the library.
Now it is totaly easy to start a USB HID communication with labview. I tried it and it works fine.
sorry to have awaken this old beast, however, I have downloaded this library and I have this for the HID device:
First let me make sure that I understand the process correctly and the first thing I need to get is a handle?
The VI's provided in this library have inputs as unsigned integers, however the VID and PID are Hexadecimal values - this is confusion number 1
Confusion number two: I tried converting the controls to HEX and trying to aquire a handle, I also tried converting the hex vals to decimal nad still get 0 (nothing?) for a handle
For VID I have used 5A7 (or 1447), for PID I have used 40FE (16638)
any help is appreciated.