Doing Data acq. and buffered period measurement using counters simultaneously, gives an buffer overflow error

Iam doing Data acquisition using NI-PXI 4472 and buffered period Measurement using NI-PXI 6602 simultaneously,my program gives an buffer overflow error

murali_vml,
There are two common buffer overflow and overwrite errors.
Overflow error -10845 occurs when the NI-DAQ driver cannot read data from the DAQ device's FIFO buffer fast enough to keep up with the acquired data as it flows to the buffer (i.e., the FIFO buffer overflows before all the original data can be read from it). This is usually due to limitations of your computer system, most commonly the result of slow processor speeds (< 200 MHz) in conjunction with PCMCIA DAQ boards, which have small FIFO buffers (e.g., the DAQCard-500). Sometimes using a DAQCard with a larger FIFO can solve the problem, but a better solution is to lower the acquisition rate or move to a faster system. Another cause of the -10845 error could be due to an interrupt-driven
acquisition. For example, PCMCIA bus does not support Direct Memory Access (DMA). If the system is tied up processing another interrupt (like performing a screen refresh or responding to a mouse movement) when it is time to move data from the board, then that data may get overwritten.
Overwrite error -10846 occurs when the data in the software buffer that you created for an analog input operation gets overwritten by new data before you can retrieve the existing data from the buffer. This problem can be solved by adjusting the parameters of your data acquisition, such as the lowering the scan rate, increasing the buffer size, and/or increasing the number of scans to read from the buffer on each buffer read. Additionally, performing less processing in the loop can help avoid the -10846 error.
See the NI-DAQ Function Reference Manual for a listing of all NI-DAQ error codes.
Have a great day.

Similar Messages

  • NI 6602 buffered pulse width and buffered period measurement with 2 counters synchronized

    I modify the example buffered event counting with 8 counters for use with 2.I obtain error 10600 or 10455 and never the waited values.Can you give me a VI example . Thank you for your help

    What changes did you make to the VI? If you attached the altered example I could take a look at it. The example program for using 8 counters performs some configuration that you won't need for just two counters. For instance, if you just want to use counters 0 and 1, you won't need to perform pad synchronization.
    I've altered the program to use with two counters and attached it to this response. Hopefully this will work for you.
    Regards,
    Todd D.
    NI Applications Engineer
    Attachments:
    Buffered_Event_Counting_(2).vi ‏126 KB

  • NI 6602 buffered pulse width and buffered period measurement with 2 counters synchronized during a defined time "

    it is OK for 2 counters if I count a defined number but I would like the values during a time for example 10 s .It seems that the acquisition is not complete.Is a problem of circular buffer, time out error .....?

    Hi:
    I am assuming that you are using 2 counters to generate a finite pulse train for 10 seconds and are using this pulse train to gate the other counter. If this is your setup, you should not have a problem in retrieving the correct number of readings.
    You can monitor to the backlog and number read by wiring indicators to Read Buffer VI. Please also look at the Count Buffered Edges (DAQ-TIO).vi examples to learn how you can correctly set up a buffered counter acquisition.
    To open up the example, click on Help -> Find Examples -> Hardware Input & Output -> Traditional DAQ -> Counter -> NI-TIO.
    Regards,
    Bharat Sandhu
    Applications Engineer
    National Instruments
    Penny

  • -10920 error when executing buffered period measurements on a PCI 6602 timer.

    I frequently encounter the -10920 NI-DAQ error when I run the C code for single buffered data period measurement .
    The error message is "One or more data points may have been lost during buffered period measurements due to speed limitations of the system". I am unable to resolve this error. I have a Win2K environment and am using VC++ to compile and execute the code. Please help.

    When doing buffered period measurements, the rate at which you can transfer data from the counter is system dependant. To try to get around this there are two things you can try. The first is to set the 'number of counts to read at a time' to a greater number. This way, the 6602 board will use less calls across the PCI bus. If possible, try to limit the number of pulses coming in on the gate that you are using to latch the counts, though in many applications this is not possible.
    Make sure that you minimize the PCI bus activity on your computer. This includes, video activity and any network activity along with anything else that is connected to the PCI bus.
    Brian

  • Hi People. I was doing my walk and listening to music using my 4s when in the middle of a song, the volume control would just automatically slide back to zero like it has a mind of its own. What gives?

    Hi People. I was doing my walk and listening to music using my 4s when in the middle of a song, the volume control would just automatically slide back to zero like it has a mind of its own. What gives?

    Hi djblue1969,
    I see that you may be having issues with your volume buttons on your iPhone. Here is an article for you that will help you troubleshoot this issue:
    Get help with buttons and switches on your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT203017
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • TS1538 hi i updated my iphone 4 with itunes and now i cannot use my phone as i keep getting error 16 after trying to restore my phone....i cannot afford to replace ..can any body help me...the phone is out of warrenty so apple do not want to know....pleas

    hi i updated my iphone 4 with itunes and now i cannot use my phone as i keep getting error 16 after trying to restore my phone....i cannot afford to replace ..can any body help me...the phone is out of warrenty so apple do not want to know....please any help

    https://discussions.apple.com/message/23100453#23100453
    more hits from the search
    https://www.google.dk/search?q=restore+itphone+error+16&oq=restore+itphone+error +16&aqs=chrome..69i57j0l5.11485j0j7&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8

  • Hello,i have a macbook pro and i just recently downloaded facetime, and now i cant use it, it says An internal FaceTime error occurred,i dont know how to fix it, please help.

    hello,i have a macbook pro and i just recently downloaded facetime, and now i cant use it, it says An internal FaceTime error occurred,i dont know how to fix it, please help.

    If your webcam is powered by USB, make sure it is attached directly to your Mac and not a USB hub.  In my case, I had my Rocketfish webcam attached to a peripheral USB hub and it wasn't drawing enough power to operate at capacity.  Therefore, Facetime was quitting on me and giving me that exact error message.  Once I attached the webcam directly to my Mac USB port, problem solved.  Hope that helps. 

  • How to find Where does Data Elements and structures are used ?

    Hi everyone .
    Is there any table which stores data elements/structures and where they are used ?
    If not is there any way to find by writing some <b>program</b> where does a data element or a structure is used ? Which tables will require for that ? If any one can give example it will be most helpful .
    Thanks and Regards,
    Kaushal N. Shah

    Hi Kaushal,
    DD04L stores the data elements.
    DD02L stores the structures.
    So you can query these tables & find them.
    Regards,
    Chetan.
    PS:Reward points if this helps.

  • WHY SUCH AN INJUSTICE THAT BBM CANNOT BE USED ON MY CURVE 9300 OVER NORMAL DATA SERVICE AND OTHER PLATFORMS CAN USE!

    Hello,
    I am using Blackberry Curve 9300. I purchased this phone for Rs. 17,250 before some 3 years, I considered RIM to be a Company providing premium services which is unique in itself and which worth spending on them and the most important thing is those are not available to non-blackberry users! Especially in case of Blackberry Messenger, which is such a service connecting all the blackberry users around the world, making a mark of precious symbol of the users of BBM.
     Before few days I came to know about BBM being available on Android and Windows phones, my question is why this injustice with your own customers, you provide the app which they will use with their normal data plan and we people who are your real customers, who trusted in you have to spend not less than Rs.129 for just BBM!I must say RIM is the most back-stabbing company I have had ever dealt with! People are laughing at us as they are using the same service for almost free and we have to spend a huge sum for availing the same service, my question is are these non blackberry people your customers or we people who contributed in your success with hopes of trust?
    My question is not why you made available BBM usage to non-blackberry users with such flexibility but my question is why can't you be loyal to your own customers?
    I hope that RIM would have a pleasing justification.

    Thanks with the signature but I already removed it from my profile too.
    I was never under a rock when it comes to technology I know that in India before few months yoru Blackberry Z10 was Rs.44,000 and now it is Rs.21,000. I understand the ploy of making BBM cross platform to generate revenue, first in a technical sense and another by creating it advrtisement in the marker.
    Do you think that taking an undue advantage of our loyaty and enduring the mockery of your own customer would take you anywhere? Don't you think that abusing your own customer's prestige would even affect you negatively? While your customer is paying Rs.129 for just BBM the Android person sitting next to him is lauging at him for he paid you and call him fool! Profits doesn't starts only by making huge business decisions but from the loyal and satisfied customers. You may always find customers all around always complaining but deep down if you have touched their needs they will bless you with good words at your back, maybe in such a way that you will never come to kow but it will grow you more. I am not here to deliver you a marketing lecture as i am in corporate law field but let me tell you what I read during my graduation, it said something like one disatisfied customer can discourage ten potential customers from buying your product and I have started feeling the same in case of online shopping but I do not know when the company giant blackberry would come to know! 
    When you said about expanding customer base, think about a company who is expanding its base of customers by disatisfing their current customers who always took pride in you by providing them services at harsh terms and in front of their eyes others are getting benefits at a very low cost.
    Our family business is textile manufacturing, not as big as blackberry but we always knew that if we will start selling our goods by describing them as really premium goods and start charging out of lips and bounds, of course my product could be premium worth the price but one thing I could be missing would be a point of finance, there could be cheaper alternatives in market which could be selling at lower price which same usage. My concern is just to keep our eyes open.
    Now consider a phone on which I can use Whatsapp which satisfies my messaging needs, gtalk and yahoo messengers for my im needs, push mails for emails, browsing and downloading for just Rs.99 and on the other hand Blackberry services for Rs.389, it is indeed clear the reason of downfall, though it is labelled as premium service and indeed it could be, permium service as I said earlier.
    When you feel that your boat is sinking, you do not have only have to pull out the waters but on the priority basis you have to cover the hole too! Blackberry is just pulling out the water leaving the hole as it is!
    If you say that legacy mode in BBOS could bother you  from providing BBM for BB device, you know that it cannot be and even I know that, any technical person can know that as it is a little secret that I can use BB browser without BIS and many other apps are example of the same (to be a bit informal). See, I never asked this thing from last three years but now when you are making it cross platform why not to give a little benefits to those who paid you till now, if you can give it to those who are nothign to you?
    My question is that why can't you provide BBM to be used on the normal data paln for your own old and loyal customers who paid you such a handsome amount from many years for your services as how you provide on other platform, just for BBM not email and rest of your services?

  • Device buffer overflow error and Log component missing

    I have some previous information in "Error device buffer overflow" post.
    I am currently running a windows XP machine with a 3.4 GHz
    processor and 3 GB of RAM. I tried using just one 9233 module with the
    cDAQ9172 and it worked. I added the second 9233 module and it started
    giving me the error. I checked the memory usage when acquisition is not
    started it was 868 MB and the CPU usage was 0-2%. When I started
    acquisition the memory usage did not change much it went to about 880
    MB and the CPU to about 100% and the error was displayed. The code shows the error that device buffer is overflowing when I use the program on a new machine even for one module with cDAQ9172 but when I switch it back to the original machine it works for single module but not for multiple.
    As the error suggests. I tried switching the update views in "Update
    signals while running" and "Prepare log data for viewing" off but it
    still did not help. If I switch both these off I wont be able to see
    what kind of impact data I am collecting. Please do correct me if I am
    wrong.
    I  need to colelct the impact data on a printer and I have
    a many locations on it that I need to collect data from.  Please
    suggest a solution for this problem.
          Also, if i try using the same project on some other machine it gives me an error indicating some log component files are missing from signal express and need to be installed. This happens when i transfer the project from one machine to another. 
    Thank you.

    Stu,
    You will still be able to print your data in a later step when setting the two options recommended by the error code.  What is likely happening when you try to move the project is that the project has log files still associated with it from previous attempts.  You should save a copy of the project and in that copy delete the log files, then try to move the project over.  SE projects are directly associated with the log files they create. This should allow you to move the project to a new computer.
    When you go to run your project, you should shut down as many background processes as possible, such as IM clients.  If you can disconnect from your network, I would suggest doing that and turning off any antivirus/anti-spyware software you have to free up resources.
    A couple of further questions:
    Are you connecting to a USB 1.0 or USB 2.0 port?  You should be able to determine this by opening the device manager on your computer and expanding "Universal Serial Bus" section. If any of the drivers have "Enhanced" in their name, you have a USB 2.0 port.
    Does this behavior repeat with any combination of the three modules?  For instance, does it work if you just have module one, module two, or module three install?  Do you still get the error if module two and three are used instead of one and two? (This will help determine if we are encountering a problem with the modules or with SE)
    Finally, if you create a project that contains only one step that only reads the data off of all three modules, do you still get the error? (This will help isolate the problem)
    Seth B.
    Staff Test Engineer | National Instruments
    Certified LabVIEW Developer
    Certified TestStand Developer
    “Engineers like to solve problems. If there are no problems handily available, they will create their own problems.”- Scott Adams

  • Does downloading music and films from iTunes use up data?

    My broadband internet data plan at home is not unlimited. I have an allowance of 20GB a month. When downloading music and films from iTunes on my PC, will it eat up internet data? It is important that I keep within the limits of my data plan as I am short of money.

    Yes. All your Internet traffic is using up that allowance. Each file you download will use up its own size, plus some handshaking data, and the traffic caused by browsing the store to look for it in the first place.
    tt2

  • Basic Visual Voicemail -- does it exist, and how do i use it?

    I've learned from this verizon page ( Voice Mail Comparisons | Verizon Wireless ) that there is an included service called 'basic visual voicemail', and according to posts here and elsewhere it is supported on at least some Galaxy S3/4/5 series devices. This is not iphone service, because that service is listed seperately. The 'basic visual voicemail' service is not mentioned anywhere in verizon's ad literature or anywhere in the account information website, and any attempt to add visual voicemail service (online) or access visual voicemail (phone) only triggers the advertisement for the 'premium visual voicemail', which includes additional features beyond visual voicemail. This makes the feature seem 'secret', or maybe it used to be offered and is not availible to new customers.
    So the first question, does basic (no additional cost) visual voicemail actually exist? Second, what do I need to do to get it working on my Galaxy S4? Based on other posts, it seems the answer that it may need to be specifically added by a verizon rep, and even then it may be necessary to do an 'unofficial' install of a different software version of the voicemail app than what is availible via the software updates... but I would like to confirm this is legit before I do something that dodgy.

    I've used all three - and I prefer You Mail.  You Mail and Verizon's (Premium) VVM are very similar, and You Mail is free.  Both have an app that opens when you hit the notification icon so you can "see" your messages, and click to listen.  Google Voice sends me an email with the transcription, and I can click in the email to listen to the message.  All of them require data to download and listen to the voicemail, but it's, what I consider, minimal.  The translation leaves a bit to be desired, but that's as much a function of the speaker as the translation engine - I can usually get the gist of the message from the transcript, most times I don't need to even listen to the message.
    The downside to using You Mail and Google Voicemail is that you need to set up call forwarding to your YM or GVM # - so if you need to set up actual call forwarding for another purpose, you lose the voicemail forwarding.  The Premium VVM worked well for the month I used it (trial has ended), and I have yet to set up either You Mail or Google Voicemail again; I'm using the Basic VVM.  I've yet to receive a voicemail so I haven't tested it!

  • When I drag firefox on to a second screen the screen does not repaint and I can not use it

    I have two screens on a desktop. One screen is vga the second is connected via usb. When I open firefox on the primary screen and move it onto the second screen it is un-useable. The window appears but I can not type in any of the fields for search, webpage address, tab,s tools,help etc. any ideas?
    Running windows home edition 7 with firefox 7.0.1

    Thanks for your suggestion.
    I have tried several cables and also the other USB port, but this doesnt fix the problem.
    I have my itunes on auto update and it is up to date so I assume that an update has occured
    although I have been using the i touch without a problem until now
    I was wondering if I follow your suggestion and reboot the itouch could it do any harm to the
    info on the device now?  I wouldnt want to lose my photos and music etc.  also quite  lot
    of important info on the Notes.  Will all this info stay in place?
    Thanks so much.....

  • HT1212 i have a problem, my iphone is disabled and i can not get into it. the power button does not work and the computer i used before i do not have. icloud was not set up on it either. And it will not allow me to connect to my itunes. So what can i do t

    i have read ur forgotten password or device disabled after entering wrong password. iphone is desabled dont have computer i conected it to before and power button is broke so how can i get back into my iphone?

    You will have to restore the phone and set up as New. See: http://support.apple.com/kb/HT1212. The part you need is near the bottom, "If you have never synced your device with iTunes...". You will lose any content that is not backed up in iCloud.

  • What does this do, and how do you use it?

    Thanks.

    It's a sports-related title. Double click it and it will be edited as a connected clip above your primary storyline.
    Select it and in the Inspector click on the Video tab. There are two drop zones. Click on one of them and select an image from your event. Repeat for the other. Hit Apply Clip.
    Russ

Maybe you are looking for

  • Need help in tuning a procedure

    DECLARE CURSOR Cur_sub_rp IS SELECT A.SUB_ACCOUNT, B.PH_basic_srv,B.PH_Salesman,A.SUB_SSN FROM STG_SUB_MASTER_MONTH_HISTORY A, STG_PHN_MASTER_MONTH_HISTORY B WHERE A.SUB_ACCOUNT = B.PH_ACCOUNT (+) AND A.MONTH_ID = B.MONTH_ID ; TYPE t_values_tab IS TA

  • RSD : a try to explain how the SMC firmware update works

    Hi everybody, In another thread i read this post (there's only a part here) from fancontrol : "Before the update, the fans started to speed up at about 75°C. Now they already start at about 64°C and then increase with CPU load and temperature. Before

  • On laserjet 100 color MFP M175, scanner will not work on Windows 8.1

    Software is fully installed on hard drive, including all apps for MFP M175. But when I click on shortcut on desktop to start up scanner, I get an error message telling me that communication is down between scanner and hard drive.

  • So close...Mail help needed!

    I desperately need to import mail from PC Outlook 2003 to mac mail 2.11. I used Mozilla Thunderbird on the PC and imported all email into it fine. I then copy the folder on my mac and import using mail/import. All the folders show show up and every o

  • Edge animate - trial

    hello all, i used Edge when it was a beta version. am  i allowed to use the 30 days trial version before i make a purchase?. if so.... why do i get this error message