07-07-2012 02:17 PM
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 ?
07-07-2012 02:46 PM - edited 07-07-2012 02:46 PM
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?
07-08-2012 04:19 AM
07-08-2012 09:35 AM
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
07-08-2012 05:46 PM
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.
07-09-2012 12:44 AM
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.
07-09-2012 01:56 AM
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 ?
07-12-2012 10:39 AM
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.