PCI-6115: no error is raised when a buffer overrun occurs
Hello
We use a PCI-6115 continuous acquisition to 10 MHz mode.
We read samples in blocks of 10e7 samples (i.e., by blocks of a second). Before you read the samples using the 'Daqmx Read analog 2D I16 NChan NSamp' VI, we check if the samples are available using the property "Daqmx Read--> status--> samples available by channel":
- If 10e7 samples are available, we call the 'Daqmx Read analog 2D I16 NChan NSamp' VI with timeout =-1.
- If not, we wait a few milliseconds and retry.
Unfortunately, we didn't intercept errors related to buffer overflows. I mean, I did some tests. And when a buffer overrun occurs, instead of getting an error related to a buffer overrun, the property "Daqmx Read--> status--> samples available through" simply returns 0 indefinitely.
This behavior is not what we want. We want something solid to detect buffer overruns. Is there a VI or property to check if a buffer overflow has occurred?
Instead of testing ourselves if samples are available, is it best to let the 'Daqmx Read analog 2D I16 NChan NSamp' VI do with timeout =-1 directly?
Thank you
Kind regards.
xRed,
I don't have the equipment to test this at the moment, but I think DAQmx's task Done.vi go do what you want. The problem with the help of samples available by channel property is that it is valid to call it when the task is technically done (error, or after the acquisition of all of the samples in a task finished) to determine how many samples can be read. As the error you have is a buffer overrun, there is no samples that can be read safely, the query returns 0. In your case of error, I expect that DAQmx is task Done.vi would return True for 'task performed?' output and the error you code were expected since the release of "error".
Hope this helps,
Dan
Tags: NI Hardware
Similar Questions
-
When I open thunderbird my graphics card time raise when I close the drop of time
I tried to re install thunderbird but the problem persistsDoes make a difference if you disable hardware acceleration?
-
I have an error code: sec_error_untrusted_cert when I try to access my secure school https://my.saintleo.edu/Web site. I run Firefox 32.0. When I have this error, it will not even let me add the exception, because it is "grayed out." Please I need help.
Thank youHello regba123, can you try to reset the file cert8.db in your profile folder, as described in "this connection is untrusted" error message - what to do?
-
Why an error keep showing when I try to download educate.ie
Why an error keep showing when I try to download educate.ie
Provide information.
When you download from?
What you download?
What is the error?
-
PCI-6115 counter 0, 1 output current capability?
Can charges of 50 ohm PCI-6115 player with the counter 0 or 1 meter outputs? The specification data sheet had no information on that.
Hi src42,
The data sheet indicates the maximum amount of current that can come from the digital lines to 13 my @ 4.35V. This unfortunately not sufficient to drive a 50 ohm load.
Best regards
-
How to determine the amount of memory was my pci-6115?
How to determine the amount of memory was my pci-6115?
I see two beaches of memory OR max.
My PCI-6115 there 32 or 64 MB memory?
Range of memory between 1: FE9F7000-FE9F7FFF
Range of memory between 2: FE9F7800-FE9F8FFF
It's an old part number for the Board 32 MB.
-Christina
-
Error code 1 when writing to text file
I have an error code 1 when I try to write to a text file in my application. Really, I don't understand and don't know how to solve this problem.
If anyone can help me please fix this, it would be greatly appreciated!
Do not close the file in the box 0. It closes only after your while loop ends. Keep your refnum file stored in a shift register.
My guess is that you open the file outside the while loop and you pass in the refnum and use it in the box 0. Then you close the file that kills the refnum. Then, you open the file again (possibly automatically with read) then close that. When you get to the enclosure 1, you use the same refnum you originally opened up to the outside, but that was closed and is now invalid.
-
Error code 80070490 when installing Windows updates.
I GET THE ERROR 80070490 CODE WHEN THE WINDOWS UPDATE IS RUN.
CAN A HELP ON THIS?
I READ THE ANSWERS TO MOST OF THE SIMILAR COMMENTS, WITHOUT SUCCESS.
Thank you
AMEERFinally, I erased the disc & reinstalled the operating system. The loss of some data, but the problem is finally resolved. The ONLY solution I could find that actually worked!
-
IIS on Windows Server 2012 R2 8.5 sends error 401.2 when change password Administrator windows local, 500 errors
This particular configuration is with Coldfusion 11. There is no errors in newspapers and the w3 service still works as are application pools. All websites and app pools run with transmission of authentication request.
ColdFusion does not work with windows authentication and may be enforced as if reconfigured integrated instance to do this, if this isn't a matter of colfusion.
Here is what I tried:
1 I created a new user account with admin rights and disconnected and logged in as them and then make changes to the password on the server, and that didn't make a difference.
2. I checked that all Web sites using the request pass through authentication.
3. I checked that the application pool is also using the application-pass-through authentication.
4. I looked to find errors in which case newspapers but don't see anything there either
5. I also searched a failure in coldfusion logs and saw no more relevant here either, but I got colfusion running without IIS in any case.
6. search of the roots of web for coded passwords hard and found nothing.If you have any ideas or any ideas let me know.
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:
http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer
-
Error code 800B010B when installing KB982670.
Can't download the new update. How to solve this?
Hello
1. could you give us the error you encounter when installing this update manually?Try to install the update manually in the clean boot state. See the article below for instructions on how to start your computer in a clean boot state.How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.I hope this helps.Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
Ideas:
- You have problems with programs
- I get error code 800F0825 when the computer attempts to install the update to vista KB938371. What should I do to fix this? messages
- Recent changes to your computer
- What you have already tried to solve the problem
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Backup of personal data (which none should be considered 100% reliable at this point) then do a format and clean install of Windows. Please note that a repair installation (upgrade AKA on-site) will NOT fix it!
Once installed the clean, you will have the equivalent of a "new computer" in order to take care of everything on the next page before connecting the machine to the internet or a network otherwise and before using a USB key that is not brand new, or has not been freshly formatted:
5 steps to help protect your new computer before going online
http://www.Microsoft.com/protect/computer/advanced/XPPC.mspxOther useful references include:
Measures to help prevent spyware
http://www.Microsoft.com/security/spyware/prevent.aspxMeasures to help prevent computer worms
http://www.Microsoft.com/security/worms/prevent.aspxAvoid fake security software!
http://www.Microsoft.com/security/antivirus/rogue.aspx~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
PL z help us, I got this error code hr0x80040001, when I install the new version of Msn 11, so I came back again to msn 9, but its impossible to install, pl z help
Is this the same computer (Windows XP?) as in that previous thread of yours? -Online http://answers.microsoft.com/en-us/windowslive/forum/messenger-signin/cant-sing-to-messneger/23775604-86f9-4bd0-8de8-cc39f10df40b
~~~~~~~~~~~~
Related resources can include:
MSN Solution Center
(Registration required; Subscribers of MSN Premium only!)
http://answers.MSN.com/How to contact MSN customer service
http://support.Microsoft.com/kb/940784 -
I get Windows Live Mail error ID: 0x800CCC6E when I try and send an email to a group of 100 or more. How can I fix it?
Hello
When you use Windows live mail and the question you have posted is related to Windows Live, so it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.
Windows Live Mail Forum
-
Error code: 80070020 when I do a windows update.
I had this error before code and had to reinstall Windows Vista from the CD. What I still do? I do not have a certain update - error code 80070020. In ADDITION, the computer crashes too often - what can I do to fix this? Or what can you do?
* Title *.
Error code: 80070020 when I do a windows update. In addition, why my computer freezes up all the time?justbuself,
Please post with the information requested here: what to post in the Windows Update forum.
Go through this article, and then do the listed troubleshooting steps. Post back with the results. http://support.Microsoft.com/kb/883825Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think. -
error code 66A when you try to install update MS10-077
I can't install this update... tried several times.
Error code '0x8007066A' when you use the Windows Update Web site or Microsoft Update to install the .net Framework update:
http://support.Microsoft.com/kb/2507641/
Maybe you are looking for
-
Hello I want to use the configuration files to define a process of test script. Each [section] would be piloted and each key would be a parameter. How can I get the INI file to read if the number of sections/key is not known? The reader does not know
-
My maintenance utility tells me that my prefetch folder files have been deleted.
Original title: prefetch files My maintenance utility tells me that files in my prefetch folder have been deleted... what it means and I can get them back or do I need to? Never heard of these before
-
failed installation of KB2680317 and get error Code 646
I receive the error code 646 when trying to install the update of security for Microsoft Works 9 (KB2680317). I repeated it tried the FixIt tool and it does not solve the problem either. What is the next step to take so I can install this update?
-
Method of implementation of player blackBerry downtime does not not with setLoopCount()
Has anyone encountered the following problem? When you use the javax.microedition.media.Player BlackBerry app, I setLoopCount() with a number greater than 1. I then start() the player. Another thread calls stop() on the player, but he does not ofte
-
RenderMode 'GPU' working on Playbook?
Specifying gpu has an effect on the Playbook, or it is simply ignored?