VISA Read over USB Problem: After a while the xBFFF0015 Timeout Error occurred

Hi,
I have trouble using labview with my non-NI USB device:
The device is an analog input DAQ board. I was able to setup communication with the board using a VISA driver specifically created for this board and direct FW calls using the product's firmware specification provided by the manufacturer.
This method has been working pretty good so far, but when I try to get large amount of data (64k samples @100ksps), the VISA Read returns the 'VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.' error.
Please see the attached screenshot of the block diagram for details.
First, an 'analog input scan start' command is sent to the DAQ device, and then the vi tries to read all collected data from the device, once the right amount of data retrieved, or no more data is available the data collecting process (the while loop) ends and an 'analog input scan stop' command is sent to the DAQ device.
The data collection starts with no problem, but after a while, in loop# 400, the VISA Read hangs and then returns the error mentioned above.
I tried to increase the time out value, but it didn't help, the error occurred after the same number of loops, the VISA Read got hosed and the error occurred after the longer timeout expired.
I also tried to add some delays in the loop, but it didn't help either.
I am not sure what do I miss here and I would highly appreciate if anyone could give me some guidance how to solve this issue.
Thanks,
John
Attachments:
usb-read.png ‏18 KB

I just wanted to specify that this is not an NI board avoiding to make people think this is a hardware issue. And I think that the rest of the code is irrelevant in this case.
I believe that I don't use the VISA functions correctly. I assumed that someone who used these functions before would be able to point out the obvious steps missing in the data collecting process using the VISA functions.

Similar Messages

Maybe you are looking for

  • Report for Customer

    Hi all, can anyone tell me a method and T code for report generation for Customer. I will assign points for any input. Thank

  • How to restrict outside access to php files needed by a swf

    hello all, i have php files that my swf needs for database access that i'd like to restrict access to so no one other than the swf can gain access to for security reasons. seeking best practice for this. can't simply do an .htaccess redirect away fro

  • Unable to update my iPhone 3 GS with 4.01

    I have attempted to update my iPhone software multiple times but get error messages. I am trying again but iTunes lists 22 hours for the software download so I think I will get the error again. Any suggestions?

  • Remove Fixing of cells while exiting the planning book

    HI Gurus, i am looking for a stnadard sap functionality to delete the fixing of cells done by the planners every month. is there any stnadrd macro function which i can use to delete the fixing of cells? the cells may be fixed at an aggregate level or

  • Create Usertables through Code

    Hi friend Can i create usertable through code . Edited by: Muna on May 29, 2008 4:19 PM