LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-HID Can't communicate

Solved!
Go to solution

I have an audio device that needs to communicate,but No USB-HID communication example found。NI-VISA Driver Wizard can't succeed,Do you have any good way?

 

 

error:Property has been set to inconsistent(VISA:hex 0xBFFF0003A)

0 Kudos
Message 1 of 31
(4,673 Views)

Why are you assuming HID (Human Input Device) has anything to do with audio?

 

HID is for mouse, keyboard and associated devices. I doubt your audio device is a member of the HID class.....

0 Kudos
Message 2 of 31
(4,664 Views)

The VIs under Connectivity>Input Device Control might read out some information.

 

Depending on the device, there might be specific Windows APIs,like XInputGetState for game controllers.

0 Kudos
Message 3 of 31
(4,633 Views)

YES,It is hid class。How can I communicate with it by labview2018?

0 Kudos
Message 4 of 31
(4,607 Views)

YES,It is hid class。How can I communicate with it by labview2018?

0 Kudos
Message 5 of 31
(4,606 Views)
Solution
Accepted by rolfk

By calling external libraries that do the HID protocol. That can be either directly the Windows API in the hid.dll through Call Library Nodes, Some .Net HID API, one of several open source HID shared libraries and .Net assemblies, implementing your own HID DLL wrapper in C(++) to be called through the Call Library Node, or last but not least and probably most complicated and time consuming, wrap the winusblib with Call Library Nodes and implement HID on top of that.

 

Lots of options but none of them free in terms of not pulling up your sleeves, getting your hands dirty with some low level programming, and spending your own time on it or pay someone to do it for you.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 31
(4,595 Views)

wiebe@CARYA wrote:

The VIs under Connectivity>Input Device Control might read out some information.


Joysticks and multi axis HIDs can be read with that library, both axis values and buttons.

0 Kudos
Message 7 of 31
(4,592 Views)

I'm confused.

 

What does any of the HID interfacing have to do with the "AUDIO" device the author says he has. I'm unaware of any audio functionality included in any of the HID class descriptors.

 

Maybe the HID class definition has changed. I HAVE read that massive document in the past, don't recall anything remotely audio-like in it.

0 Kudos
Message 8 of 31
(4,583 Views)

@Intaris wrote:

I'm confused.

 

What does any of the HID interfacing have to do with the "AUDIO" device the author says he has. I'm unaware of any audio functionality included in any of the HID class descriptors.

 

Maybe the HID class definition has changed. I HAVE read that massive document in the past, don't recall anything remotely audio-like in it.


This is still a mystery...

0 Kudos
Message 9 of 31
(4,578 Views)

Well, it's weird of course, but the OP has claimed twice, with impossible to ignore certainty that his device is HID! Who am I to doubt that some freak has used HID to interface to a I2C ADC? 😀

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 10 of 31
(4,569 Views)