LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate with HID device through USB

I am attempting to communicate with an HID-device using LabView. My device does not conform with USBTMC, so what I gathered from the VISA API programmer's guide, is that my best bet would be to make function calls directly to the HID.dll using a Call Library function node, as opposed to creating my own driver and using VISA function calls.
 
In C++, making calls to HID.dll usually entitles creating a device handle that you pass on as a parameter to the different functions in the DLL, but I'm not sure how to go about accomplishing this in LabView.
 
Any help would be much appreciated, as well as any other alternative approaches that have worked for you when attempting to communicate with an HID-device.
 
Thanks!
 
 
Andres.
 
0 Kudos
Message 1 of 2
(2,848 Views)

Hi Andres,

I think the best approach would be to create a wrapper dll in C++ and call the C++ DLL from LabVIEW. That way you would not have to deal with device handle in LabVIEW.

Regards,
Ankita  

0 Kudos
Message 2 of 2
(2,837 Views)