12-15-2009 06:07 PM
12-16-2009 06:20 PM
This error could be because of poor USB connection in addition to a timeout error. Are you going through a USB hub or plugged straight into the computer? If through a USB hub try straight into the computer. You may also want to try adding a manual timeout to the read and see if that affects your behaviour.
This is an underlying VISA error which is the protocal that facilitates the USB communication which is why I am leaning more towards the first issue of USB connectivity.
12-17-2009 08:36 AM
I'm seeing the same problem: intermittent time-out after only 1.5 seconds.
------
Error -1073807339 occurred at ni568x Read.vi
Possible reason(s):
Error: (Hex 0xBFFF0015) Timeout expired before operation completed.
------
I'm attaching the VI that I used, with the defaults saved for one of the failure runs (ran 3x, failed on two of them). Actually, I'll attach 2 VIs. Another way I've seen this is a timeout (just over 1.5 seconds) during ni568x Configure Correction Frequency.vi, but this VI is written a little differently.
My machine is a Dell Precision 390. I first saw this problem a long time ago, and it seems like it went away after a while. Maybe I started setting the number of averages to something other than 0. I'll attach one more version of the VI that shows my results when I use 3 averages instead of 1. I still get funny timing (most measurements take 250 ms, some take 1.5 s), but at least I don't get an error. Maybe that work-around will help until the root cause is found and fixed.
12-17-2009 09:44 AM
12-17-2009 12:32 PM
12-18-2009 11:30 AM
I don't have a 5680 right now to test your code but it looked fine. The comment that this can happen with the configure frequency VI leads me even more towards thinking this is an issue with USB connectivity. We do sometimes have issues with our USB devices going through hubs, though it usually is the quality of the hub we just recommend not going through any at all as its impossibly for us to test every possible USB hub out there.
I would recommend you try using Soft Front Panels and see if it is working that way with the same configuration settings.