LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with HID communication

Hi can anyone help with this. Iam new to labview. I have recently purchased a transmitter for an oxygen sensor. this transmitter appears to connect to my PC as a HID device. Iam having difficulty gaining any information from the manufacturer up to now apart from that in the instruction manual it says that real time data is streamed via the USB. can you give me any advice on how to initially connect to the device and read what ever data is being streamed ?

0 Kudos
Message 1 of 8
(4,274 Views)

Have a look here if you want to try the VISA RAW route (Warning, not for the faint hearted).

 

The better way would be to write LV wrappers for the OS HID library.

 

Shane.

 

Ps Seeing how you're new to LV, both of these optionsa re probable beyond your ability at the moment. You don't have any colleagues with LabVIEW experience?

0 Kudos
Message 2 of 8
(4,270 Views)
Hi I tried the visa raw root. When I use visa test panel 3 of the Attributes have invalid property values bulk out pipe status, bulk in pipe status and interrupt in pipe status ?
0 Kudos
Message 3 of 8
(4,245 Views)

I have install USBlyser and get the following results for the device attached. I would be greatful of any help/suggestions you can give. I may be wrong but i assume with it only having an In endpoint that data is only being output from the device or is this true of all usb HID s

0 Kudos
Message 4 of 8
(4,230 Views)

Have you tried the VI I provided in the thread I linked to?  It should work more or less.  You need to change the length to 38 but otherwise.....

 

Shane.

Message 5 of 8
(4,199 Views)

Hi

 

I can communicate with the device descriptors and ive found USBlyser http://www.usblyzer.com/ very useful in interpreting the commands. just having a few problems understanding how to get raw reading data from the device. I have been looking at the following link http://www.beyondlogic.org/usbnutshell/usb6.shtml. Should the data be in the Endpoint ? Forgive my lack of knowledge im just looking for a eureka moment. In the meantime i will look at you link again thankyou. 

0 Kudos
Message 6 of 8
(4,187 Views)

Ok ive taken the mouse example you showed and removed the mouse data structure. It appears to have started the device streaming data looking at USBlyser but im getting all 0s 59 bytes worth? Am i looking at a problem with the device ( setting or otherwise) do you think ?

0 Kudos
Message 7 of 8
(4,179 Views)

Hi

I finally recieved some communication information from the manufacturer of the transmitter (previous version though) i am trying to communicate with. just a little bit limited in my opinion. And confusing to me. Could you point me in the right direction if that is at all possible. I have attached the information.

Thankyou.

 

 

0 Kudos
Message 8 of 8
(4,149 Views)