10-25-2010 04:13 PM
I have a device connected through the USB port. I have lost the data logging software and was wondering if I could use labview to get the data. I am currently using Labview 8.2 on the same computer for another device control.
How do I communicate with this device through USB port to collect data. Is there an example vi available.
Thanks,
10-25-2010 04:57 PM
It's not quite that simple. What is the device you're speaking of? Is the device USBTMC compliant? If so you could communicate with it in a way similar to GPIB instruments - you send a command, and you read a response. You'd need the documentation on the command set. If it's not USBTMC compliant then you'd need to either get a DLL from the manufacturer, or you'd have to use USB RAW. In order to use USB RAW you'd need to have detailed information from the manufacturer on the data packets, and this is not something they're likely to give out.
Also, please try a search next time and read up on information that already exists in the KnowledgeBase: USB Instrument Control Tutorial.