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
-
VISA read Problem: After a while the device stop responding
Hi everyone,
I am facing a really strange bug that anything that I have done could not solve it. I have a PIC device that I made myself communicating with LabVIEW by a RS232 -> USB converter. Everything seems to be ok, but suddenly (it can last 30, 45 or 50 seconds), LabVIEW stops receiving data and any buttons do not respond anymore, not even the stop button. I have to remove the usb converter to get the buttons to respond again, and then I got the error:
Other programs that opens this same terminal can communicate with my device for hours without errors. I sure open the session and only close after the while loop. Can anybody help me?
Solved!
Go to Solution.Hello,
Same problem for me! It can last 1 hour or 5 hours but at some point the two parts of the program that have a RS-485 to usb stop. This program was working perfectly until I changed the computer. The OS was vista (32 bits) and it is now 7 (64 bits). This is the only thing that has changed.
I also found that if more parts of the program are running this problem appears earlier. It was definitely not issue before since the program could be running for weeks.
Thanks for your help. -
Hi
I am having problems downloading 2 purchased movies. Cars 2 & Toy Story. I had it on My iPad, then after a while the movies would not play. I went to the apple store and they deleted it and told me that all I need to do is download it again. I tried what they suggested at the apple store, but I am still not successful. It continues to tell me there is a download error. Please help! Need these movies for my 3 year old!User to user forum.
Apple is not here.
You need to contact iTunes support:
http://www.apple.com/support/itunes/contact/ -
Im having problems with Safari 5.1.10. I often have several tabs open and after a while the links/websites become not active. So if click on a tab and want open a previous website it than has to re-load again in the window. Can I change this ?
Kind regards,
Faroek Abdoelrahman
The NetehrlandsEmpty the Safari cache more often.
From your Safari menu bar click Safari > Preferences then select the Advanced tab.
Select: Show Develop menu in menu bar
Now click Develop from the menu bar. From the drop down menu click Empty Caches.
Quit and relaunch Safari to test. -
Connect smart card reader over usb and access digital signature certificate
Hi,
I got digital signature certificate stored in a smart card.I places smart card into card reader and plugged usb port of server.
I can see card reader in windows environment.My problem is to connect card reader and access digital signature certificate using java code.
I thinh it needs javax.smartcardio but i did not find necessary jar file for jdk 1.5.xx.
1- Where can i download jar fiel for javax.smartcardio for jdk 1.5.xx
2- Is there a blog or forum thread to help me to use smart card over usb?
Thanks.One of the beauty of Java is that when the Java VM does not let you do something (here: accessing a Smart Card), there is no way that a purely Java solution will add this functionality.
Hence, what you ask simply can not be done in pure Java (1.)5. Some machine-specific non-java code is required. And you did not specify your target.
Unless a jar file could contain machine-specific code (I don't know if this is the case, and I never made one such jar file), there seems to be no way a jar file could help. -
I have a FreeAgent GoFlex backup drive (for Mac) after a while the icon disappears from the desktop and can only be restored by reconnecting the firewire. This also happens when I use the USB connection as well. Thanks
Did you use any of the "sleep" drivers supplied? I have found it best to just totally reformat/erase the drives and let the OS handle them.
-
I keep getting the message"an error occurred while trying to access the service". does anyone know what i need to do to resolve this problem. I am trying to convert a PDF file for ms word?
Adobe Reader is free; but you may have paid for the ExportPDF service.
Contact Adobe Customer Care and click on the Still need help? button to chat with an agent.
[topic moved to ExportPDF forum] -
I have a Windows 7 Ultimate .iso file saved onto a "Mac OS Extended (Journal)" formatted USB flash drive. I am trying to install it with BootCamp Assistant and I keep getting the error message : Your bootable USB drive could not be created. "An error occurred while formatting the disk."
I have previously installed Windows 7 on my Mac (and it worked flawlessly - same .iso file), but I uninstalled it because I didn't partition enough space on my hard drive. I have used several flash drive to try and install and none have worked.
Some help would be greatly appreciated.The Boot Camp forum is located here: https://discussions.apple.com/community/windows_software/boot_camp
The Boot Camp Guides are located here: http://www.apple.com/support/bootcamp/ -
When i try to update cc downloadcenter it, stops after a while and shows an error
when i try to update cc downloadcenter it, stops after a while and shows an error ?
i tried every solution you suggested but nothing helped. And when i tried to download the cc desktop app.again it stopped downloading and gave an error code 207 and message that it could not
contact the server. ( i had internet open all the time and every other site wasconnected ) My premiere pro cc does also quit working when i try to do something ? -
After downloading 7.0.4 update it says preparing to install and after several minutes it says an error occured while downloading, plz anyone can help
Hello EvanClayton,
Thank you for using the Apple Support Community. Due to the nature of your issue or question you may find more information by using another one of Apple's support resources - https://getsupport.apple.com/GetproductgroupList.action. -
Just got my I phone, I used it an after a while the screen went black. I put it on the charger but nothing is on the screen and no lights on. Is my Iphone okay?
Have you tried resetting your iPhone, press and hold the sleep/wake button and the home button for 10-15 seconds until the Apple logo appears, ignoring the red slider, then turn back on. You won't lose any data doing this.
-
my iMac won't boot up. I hear the chime and the Apple symbol appears but there is no whirling indicator that appears and after a while the computer screen goes black and the whole cycle starts again. There have been occasions when it has actually started and I have the dashboard appear but then the screen freezes
Since you have Lion v10.7.4 installed, use Lion Recovery to repair the startup disk if necessary, or reinstall the Mac OS X.
-
Apple Logo and Progress Bar Stuck 1 out of 5 while Restoring my iPhone 5 to iOS8. How can i Do for This Problem. Sometime iTunes say An Unknown error occured (error -14) iTunes Version is 11.4
The error that you are seeing has to do with your Internet connection. Try disabling your anti-virus software and connect the iPhone again and try to restore. See this support document for help. http://support.apple.com/kb/HT1808
-
I get this message: An error occurred during the installation process: error occurred while installing additional adobe packages. when trying to install CS2 InDesign UPGRADE from id 2 on new IMAC 2.4 GHz 4 GB. Any one else with same issue? Trevor
These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.) -
Installed latest version of iTunes, now I cannot play music through my Airport Express. I'm seeing the message "An error occurred while connecting to the AirPlay device "living room". The network connection failed..."Living room" is what I named the is what I named The AirPlay function of the Aport Express. Thanks!
I have the same problem - did you solve it?
Maybe you are looking for
-
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