DAQCard6062E hangs intermittently during acq

Code written in VC++ 6.0, NIDAQ 6.9.3, OS: Win2000&98, various laptops from P2-450MHz to P3-1.2GHz.
Using SCAN_Start for continuous mode acquisition to a single buffer (16 channels, 20KHz). After a variable number of samples acquired (usually around 1e6 to 14e6), acquisition hangs. At this point DAQ_Monitor returns error -10845 (overFlowError) once, and then -10608 (noTransferInProgError) thereafter. At this point, the acquisition must be stopped and restarted.
The hangs only occur after many cycles through the acquisition buffer, so I don't think it is a buffer boundary problem. Hangs also occur even if there are no transfers to secondary buffers (via DAQ_Monitor), so I don't think it's a memory access conflict.
Greatly lowering acquisition bandwidth (e.g. 20kHz X 1 channel) eliminates the problem, but the driver hangs at acquisition rates well below maximum bandwidth (e.g. it hangs using 20kHz X 8 channels = 160KHz aggregate).
I have included a simple console app that demonstrates the problem. This app does not actually do anything but monitor the acquisition once it starts. When the acquisition hangs, a beeping message is displayed.
I hope someone can help me solve this problem, or at least tell me what I'm doing wrong. I am at wit's end!
John Burt
Attachments:
daqtest1.zip ‏52 KB

John,
Actually, the error -10845 is a hardware, not software, overflow error. This error 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. In your case, this is probably because the FIFO buffers on a PCMCIA card are much smaller than those found on a PCI card. Furthermore, the PCMCIA bus does not support Direct Memory Access (DMA) which is used for fast transfer. The DAQCards rely on interrupts to transfer data from their FIFO to PC memory. Unlike DMA transfers, interrupt transfers consume processor time and are thus highly system dependent. Additionally, they are much slower than DMA transfers.
There are two primary solutions to this issue. There are lowering the sampl
e rate or using a much faster computer to process the interrupts at a higher rate. Additionally, the FIFO on this board is limited to 8,192 samples. You should ensure that you are not acquiring more than this many samples at a time.
Please reference the following Knowledge Base article for more information on this subject.
Data Acquisition Errors -10845 and -10846, What Is the Difference?
http://digital.ni.com/public.nsf/websearch/70C74F12DC728114862568EB007F5338?OpenDocument
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • OSX hanging intermittently

    I recently bought a new 13" MacBook Pro 2.53GHz, I haven't even had it a month yet. I'm having a problem where the OS will hang intermittently. Let me explain.
    I first noticed the problem when playing videos back with quicktime. All of a sudden playback would seem to stop even though I hadn't pressed pause. If I tried to click anywhere the computer would become unresponsive and I would get the spinning beachball (though I could still move the mouse). After up to a minute playback would resume but skipped forward, as if it had remained playing during the hang.
    This doesn't just happen with quicktime is running. I've noticed I seem to be "allowed" one more click before the system hangs. I've tried to use this to my advantage by bringing up Activity Monitor, but I can't see any unresponsive or out of control processes. I've also noticed that if something is playing in iTunes, it continues playing throughout the hang.
    Finally, when the hang is over, the system seems to play catch up, carrying out all the commands and mouse clicks I made during the hang.
    This happens a few times a day. Hangs last up to about a minute. It's incredibly frustrating and I'm not sure how to go about fixing the problem. I've run a hardware test from the OSX disc and everything seems to be fine. Any suggestions would be greatly appreciated.
    Cheers

    HI and Welcome to Apple Discussions...
    Might be a good idea to boot from your install disk and check the hard drive just in case.
    Insert the installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    While you have the Disk Utility window open look at the bottom of the window. You will see Capacity and Available. Make sure you always have a minimum of 10% free disk space.
    If you cannot boot from your install disk, try booting in Safe Mode
    Carolyn

  • Work-around for flash player hangs/freezes during initialisation...

    Hello all,
    Are you also facing the problem that the flash player hangs/freezes during execution of an xcelsius file? Try if the following work-around works also for you.
    I am (was) facing the same problem: a swf file about 1474 kb with many components, generated with Xcelsius 5.3.2.0., trying to view with flash player 10.1.82.76. Did also hang/freezed! The file was originally build with version 5.3.0 and worked o.k. then...
    The work-around which works for me is the following: I had all my components organized in groups. After ungrouping them all (which I think is a major drawback) and exporting it to swf, the report works! File size is more or less the same...
    Maybe you can give this work-around a try for your own work....
    So I think the SAP/Adobe bug has something to do with grouping of components or grouped components build in an earlier version of Xcelsius 2008... The following test that I will perform is ungrouping the components and then re-grouping them again in version 5.3.2.0....
    Greetings
    Erik-Jan Vriens

    Thank you for sharing this. Had a similar problem before and did some tinkering around with the file and all of a sudden it worked again. Fair bet it was exactly that as well.
    In general Xcelsius performance goes down the drain if you start using many components. It is to be expected, somewhat, I guess. Various bugs also pop up because components do not always seem to play nice.
    One thing I have found as well is that if you are doing a waterfall approach of constructing with a bunch of iterations in the implementation phase, you may end up with a bunch of components that were there early on. Sometimes they start messing up over time, because you've been playing with the data below or with the chart itself. E.g. on line charts label start distorting, or the frames flicker. In radiobutton boxes the boxes are not aligned properly. Checkbox labels are clipped at the end until you hover over them etc..
    Solution: remove the components, add anew. If not too many components with a tough spreadsheet below, export Excel, start a new.

  • Flash Builder 4.5.1 for Mac hanging/crashing during startup "Loading Workbench"

    Hello,
    I'm having ongoing trouble with Flash Builder 4.5.1 hanging/crashing during startup.
    Sometimes the following Terminal command fixes the issue:
    cd ~/Documents/Adobe\ Flash\ Builder\ 4.5/cascaded/308971/configuration/.settings
    rm org.eclipse.ui.ide.prefs
    However this isn't a silver bullet solution, and sometimes the only way is to uninstall and reinstall FB4.5.
    But this is a major hassle, especially after 3 or 4 times!
    I am running Mac OS X 10.7 and have updated to FB 4.5.1 Premium and also installed Subversion/Subclipse as well as the BlackBerry PlayBook SDK.
    Problems seem to occur when working in SVN projects.
    I have also noticed that the Delete and Arrow keys and Right Click fails to work sometimes also.
    Is there a way to reset / clear FB 4.5 Prefs / Workbench?
    Thanks,
    David Douglas
    Here is the console report below:
    /Applications/Adobe/Adobe\ Flash\ Builder\ 4.5/Adobe\ Flash\ Builder\ 4.5.app/Contents/MacOS/Adobe\ Flash\ Builder\ 4.5 ; exit;
    !SESSION 2011-09-13 15:07:58.914 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_26
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/david/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring /Users/david/.eclipse_keyring -consoleLog -showlocation
    !ENTRY org.eclipse.core.resources 2 10035 2011-09-13 15:08:02.101
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-09-13 15:08:02.905
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-09-13 15:08:02.906
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'

    Delete the Adobe Flash Builder 4.5 folder from your Documents (assuming you don't have anything valuable in there). That seemed to work for me, as I don't keep my projects in there but there were some temp files that were breaking it. You'll probably have to re-inport your projects.
    Adobe, I'm getting very sick of your (expensive) products wasting my time.

  • Desktop Manager Hanging Up During Execution

    I installed Blackberry Desktop Manager version 6.034 on to a Dell Latitude E6520. The operating system is Windows 7 64-bit. The user has a Bold 9650. Several attempts to connect the phone to synchronize failed. Either with the phone connected or disconnected to the laptop, the Desktop Manager application hangs up during the initialization phase. I have also tried upgrading from version 5.x but have been unsuccessful. Any help out there?

    am also having this problem. have new storm 9550, upgraded from storm 9530. each time try to connect new phone software hangs up and does not respond. tries to show ability to add new device but software screen locked with hour-glass.
    computer runs windows xp pro-sp3

  • When trying to update my reader, it hangs up during step 2 & I get a message that a virus was detect

    when I try to update my reader it hangs up during step 2 & says a virus was detected & download aborted

    1st time was when a news letter suggested my PDF Downloads of there letter probably were not working because of outdated programs & they linked Adobe for an update download. WHen the problem I 1st described happen, I then went to Adobe Site & tried it and it happened again.

  • Synchronization hangs intermittently

    Hi,
    The synchronization of a couple of Analysis Services databases hangs intermittently. They generally hang on Thursday which is when there is a relatively heavy load on the servers. However the servers are high spec so there is not a high load percentage usage
    of resources on CPU / memory and disk IO. The databases being synced which hang are around 15Gb in size.
    I am also not able to receive any error messages.
    Any help would be greatly appreciated.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    Sorry that your New Year is getting off to such a bad start. Freezing can have many causes, and unfortunately the logic board can be one of them. Other possibilities may be a dying hard drive and software corruption.
    Unfortunately, when I had logic board problems, it was definitely heat related. It would freeze after 15-20 minutes. If I set up a fan, it would go about twice that long.
    Do you still have the original hard drive? If so, it may be getting long in the tooth. Here is a utility that you can download and run several times for free:
    http://www.versiontracker.com/dyn/moreinfo/macosx/32454
    This utility will give you more insight into the S.M.A.R.T. status of your hard drive than Disk Utility will.
    What does the iBook do when booted from a disc? If it still slows and freezes, that would point to the logic board, as you are essentially bypassing the hard drive and the OS.
    If you want to exert pressure on the logic board, here is an article that might help to apply it at the right point:
    http://www.coreyarnold.org/ibook/
    Finally, to eliminate all possibility of a software cause, you might want to try reinstalling the OS.
    It would probably be prudent to back up all your data if you haven't already and keep it backed up. Until your iBook is diagnosed and fixed, there is always the danger that it could die at any time.
    Sorry to not be able to be more encouraging.
    Good luck!

  • I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the in

    I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the installation. Hours on the phone, no results. I'm scared to do it on this computer. Should I try? Not even the Adobe support could get it resolved. I believe it was somehow reading a product number that could not be deleted or something, and nothing worked.
    Message was edited by: Doug Doug

    Hello, as an addition:
    In your case I would download a really new trial version of your program(s) in question and change it/them into a "real" version later, BUT because you said, that you "re-installed" already, so it will become a little bit more complicated. It would be necessary that you have to use "Adobe Creative Suite Cleaner Tool" as Keith wrote.
    Here an advice for that (The order varies depending on your individual needs. Please read all my proposals first, so you can better choose the first step:)
    1. Maybe you have to activate/deactivate, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    2. Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    3. Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool. Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    4. If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I for may part - as it seems unlike you - had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Hans-Günter

  • After most recent update, Firefox keep hanging intermittently with "Not Responding".

    After the most recent update, my Firefox browser begins to hang intermittently with "Not Responding". I have checked the extensions and plug-in like Java, all of them are the latest updated ones. Everytime I open a new site or click on links to load another page, it happens. Every single time.

    '''is there a solution ''(temporary OR permanent)'' for this problem yet?'''
    i tried '''EVERY possible alternative'''; even when opened in ''''''safe mode'''''' or when installed for the first time w| '''NO addons or ANYthing else''' but the '''original default settings''', still does the same thing.
    mozilla people?? really?? no answer|feedback|suggestions, anything at all from u guys??
    if it isnt a version (browser, OS, addons, etc) issue, what is it that separates us from the users not having the problem?
    this is is very frustrating; h|e it's even more frustrating when there is no response from tech support. is it because there havent been enough people who have reported this same issue so there can be some interest & find a fix; OR is it that u dont know; OR that there is not & will not be any fix?
    we cant continue being users if we cannot use it. it's really my favorite browser, but if it doesn't work & u guys dont have a fix for it, then users w| this same problem wont have any other option but to switch to a different browser permanently.
    really mozilla??? nothing? a reply would be very nice...

  • Zen Nomad Jukebox NX hangs up during EAX load

    My Zen Nomad Jukebox NX hangs up during the loading of the EAX screen. I've looked trhough similar problems and solutions on this page without finding any aduquate solution proposal.
    I've tried doing the following:
    entered the rescue mode and tried to "clean up", when i do this nothing happens and i may contiue selecting the clean up option or select another. It doesn't seem to affect the player at all.
    I've also tried to select both "reload OS" and "Format all", both times the player gives a error message, "harddisk problem".
    Since the computer is unable to detect the semmingly not functionable player I can't find access my player.
    Solution?

    A "hard disk problem" error is a serious one, and clearly indicates something awry with the hard disk. You can try the advice here in the Zen FAQ at Nomadness.net at your OWN RISK. If you don't want to try this or are under warranty then contact Creative Support.
    If you aren't under warranty you can contact Creative Support to see if they will repair it. If you want to try repairing it yourself, taking the risk the hard disk is at fault, then you can follow Rudi Cheow's excellent guide. There's also a thread here at the Zen Nomadness.net forum on compatible dri'ves, and the last page of Rudi's guide also has information on this.

  • Citrix the screens hang intermittently

    We have an Oracle 9205 database running on Windows 2003 server.
    We are web deploying our application using Oracle9IAS 10222; we are using the forms listener servlet including Developer6i Patch 16. The version of Jinitiator is 1.3.1.17.
    When deploying this via Citrix the screens hang intermittently and users are forced to log out of citrix and log back in. Interestingly Oracle Financial's is running fine on the same box.
    Pls, do let me know how to resolve this issue
    Rgds,
    Satya

    The use of Citrix or any terminal emulation software with Forms is not supported. In most cases, it is determined that the cause of these types of problems are the result of the emulation software (Citrix in your case) and not Oracle Forms. It is recommended that you retest in a non-Citrix environment. If the problem is no longer reproducible you should then contact the Citrix vendor.
    To be a valid, supported Forms user (client) the client machine must have a browser and Jintiator (JRE) install on their local machine. It is also required that the browser cache and JRE cache are stored locally.
    Ref. Metalink Doc ID# 68047.1

  • My iphone keeps hanging out during a call

    My iphone keeps hanging out during a call; sometimes 5 to 6 times during one call.

    Hanging out during a call?  Sounds like a teenager.   Or do you mean hanging up?
    You're sure you're not hitting it with your chin or something?

  • IPhoto 09 hangs up during analysing / converting iPhoto 2 Library

    Hi
    I recently bought a new MPB (OS X 10.6.1 / 3.06GHz / 8GB RAM).
    I restored / copied the user data from the old Mac Book (OS X 10.4.11 / PowerPC G4 1.33GHz / 1.5GB RAM) to the new MPB. Now I have got a problem with my photos which I manage on both systems with iPhoto.
    *On the MPB iPhoto "V 8.1 (415)" blocks / hangs up during analysing / converting the old iPhoto Library "iPhoto V2.0.1 (3E89)"*
    Old iPhoto Library: ca. 8000 Photos, ca. 23GB
    What did I do:
    - from my backup of the old system I moved / copied the folder "iPhoto Library" to the new MPB into the folder "Pictures"
    - I started iPhoto
    - I selected the "iPhoto Library" as the Medithek
    - iPhoto started to verify and to update / convert the Mediathek
    - shortly after iPhoto is blocked / hangs up
    I have absolutely no idea why this happens.
    Questions:
    How do I get my entire iPhoto 02 Library working with the new iPhoto?
    Did anybody have the same / a similar problem and how was it solved?
    Is there any way to copy manually the old Library into the new packetised iPhoto Library (if yes - what do I need to do)?
    Do I need to copy any other files (e.g. preferences) to the MBP so that iPhoto does the conversion of the old Library correctly?
    Any hints / solutions are very welcome.
    Looking foreward to get my photos back to work with the new MPB.
    Thanks guinevra

    This can be cause by a damaged file or a dodgy file permission somewhere in this Library.
    Download BatchMod from
    http://macchampion.com/arbysoft/
    And apply it to the iPhoto Library Folder using the settings found here:
    http://homepage.mac.com/toad.hall/.Pictures/Forum/BatChmod.png
    (Credit to Old Toad for this one).
    and try again.
    Regards
    TD

  • Windows XP hang up during boot up

    i am having a prob that i dont see an answer for. i am on a MacBookPro with OSX 10.5.4
    i used boot camp and set up XP with SP2. it worked for a while, then it started hanging up during boot. i would get the windows splash page and then i got the black screen. it just stays black every time i try it.
    Please Help?!?

    Hi and welcome to Discussions,
    prior to your problems, did you install any new programms or updates ?
    Have a look at the Safe Boot options of XP described here: http://support.microsoft.com/?scid=kb%3Ben-us%3B315222&x=10&y=11
    Especially the Safe Boot and/or Boot Logging options might provide some informations, why XP is not booting.
    Regards
    Stefan

  • C application hangs intermittently on invoking Closehandle() function in Win 7 64bit OS

    Hi,
    I have a application which basically deals with network operations like begin session, send/receive etc. The application also has mutex create, request and close. Before terminating the transaction between the client and server, there is a call to Closehandle()
    while clears that mutex that was created during initialization. (Mutex is released prior to close). During closing the mutex, in Windows 7 64 bit OS, the application goes to hung state intermittently. The same application used work without any issues in Win
    XP. 
    PS: The C application is written in Visual Studio 6.0
    Hence requesting for any thoughts to resolve this problem!!
    Thanks in Advance!

    Hi,
    When application hangs, it needs to be restarted. Yes, this problems happens sometimes.
    With respect to the anti-virus and firewalls, I had tried turned off firewalls and anti-virus but did not help!
    This application basically acts as a network layer which is the bridge between client and server.
    Below is the code snippet from the app which shows about mutex creation, request and close. I had configured ADPlus to the application to check on which line of the code the hang occurs and from that dump file could notice that the cause for the hang is
    Closehandle() function.
    Code snippet -
    typedef unsigned long OSLMUTEXSEM;
    extern OSLMUTEXSEM gsemCrypt; 
    void PASInitialize() {
    char *            pMutexSemName;
    DWORD     NTRC;
    pMutexSemName = gsemCrypt;
    oslRc = MutexSemCreate((char*)NULL,&gsemCrypt));   //Mutex creation by calling CreateMutex() function
    oslRc = MutexSemRequest( gsemCrypt, SEM_WAIT_FOREEVER); //Request the semaphore by calling WaitForSingleObject() function -infinite //timeout
    // some operation
    oslRC = MutexSemRelease( gsemCrypt ));  // release the mutex by calling ReleaseMutex function
    void PASTerminate(){
    oslRC = MutexSemClose(gsemCrypt); //calling Closehandle()function to close the mutex
    WSACleanup();
    From the dump files, it was noticed that the hang happens at the call MutexSemClose(..) function which in turn calls windows function Closehandle().

Maybe you are looking for