03-05-2013 01:27 AM
Respected pals
I am new to labview. Regarding my project I am working on the data transfer between USB device and PC which is running labview on it
my aim is to get the data from the device under test as inputs to the labview test code. But I am finding difficulty in reading the data and the following errors are occurring.
Could not perform operation because of I/O error.
Timeout expired before operation completed.
The given session or object reference is lost
every time I had changed my code when one of the above mentioned errors occurred.
So I had decided to do the basic visa read and write operations but the output is same(errors)
is it possible to read data from a USB Radices? As I had tried the examples in labview also still the same errors are repeating.
So please help me out of the above mentioned errors.
Thank you.
03-05-2013 01:50 AM
03-05-2013 02:47 AM
03-05-2013 09:29 AM - edited 03-05-2013 09:30 AM
As I said, you must have the details on the low level USB protocol from the vendor. You just can't decide to use USB RAW and hope it will work.
Is there software from the vendor that works? Perhaps you can find a USB sniffer program, remove the VISA driver, and run the vendor's software to see the communication. And actually, if the vendor has an api, that is by far the best way to communicate. The VISA USB functions should be considered as a last ditch effort and one that is not always possible.