Why do I get a 'memPageLockError' with the ScanStart function?

I am using PCI-6110 and PCI-6111 boards for high speed data acquisition. I am using triggered acquisition into a preallocated buffer using SCAN_Start() and DAQ_Check() functions amongst others. I find that I get a -10447 memPageLockError status returned from SCAN_Start() when the total number of points I request for a total of 4 channels exceeds 33,533,952 points. This is less than half that which SCAN_Start() is supposed to be able to handle (2^24 * number of channels), and through experimenting, I have found that this is actually a different error to that thrown by SCAN_Start() when its limit is exceeded (> 2^24 throws an error code -10010 for 1 channel).
I would like to know where this limit comes from. If I know what it is I can work around it but I am worried that it may be machine dependent. Could somebody please tell me if this is machine dependent or perhaps if this an error which has a patch in a later NI-DAQ version (something mentioned in a related posting but I'm not sure if it applies here).
Details of my system:
OS: Windows 2000 SP4
Programming Language: Borland C++ Builder 5.0
NI-DAQ: 6.9.1f28
RAM: 512MB
(Update to NI-DAQmx not really an option at this point).
Thanks.

Hi,
  assuming you're not multi-threading, I think that Windows is stopping the driver allocating that amount of memory in one go - if you're allocating doubles (so 8x33,533,952 = 268MB (and change) then the OS won't allow that amount of memory to be allocated in one go. (Windows tends to page lock to 64MB)
Why do you need a buffer that big? (I know Scan Start is a finite setup, but I'm wondering about going for a continuous setup instead where a much smaller buffer would be required.)
Can you use DAQmx (
Driver here :
http://digital.ni.com/softlib.nsf/websearch/7FEAEE6A4B4AA836862571C00064E6CA?OpenDocument
Borland interface here :
http://digital.ni.com/public.nsf/websearch/B09727F89DA3A06C86256F430071D88E?OpenDocument
Hope that helps.
Thanks
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer

Similar Messages

  • While surfing the internet I get frequent stopages with the notation "Shockwave Flash may be busy - - - - -" Why doesn't it say Adobe Flash and how do I get it fixed?

    While surfing the internet I get frequent stopages with the notation "Shockwave Flash may be busy - - - - -" Why doesn't it say Adobe Flash and how do I get it fixed?

    The  site will NOT let me post in the  "flash player" forum. When I open the  list of forums to post in, I see  flash player listed, but it is grey  in color and you can not click on  it. Under the scroll box that gives  you the choices of forums to post  your question in you see this:
    "Why are some locations grayed out?                                                This means that you can view content in these locations, but may not   have access to post to them. Or, the content type you've chosen is not   available there (i.e. trying to put a blog post in a project where  blogs  are turned off). Also to move content to "Your documents",  "Private  discussions" or "Your Videos" you have to be the author."
    So   tell me HOW the hell am I supposed to post in that forum, when it is   not letting me?  I have had   this problem since back in April, I have tried posting to get help and   all I get is complaints I posted in the wrong place, and it is the SITE   that is not letting me post in the right place.

  • Why do I get pdf files with an underscore  in the extension ( ._pdf)

    Why do I get pdf files with an underscore  in the extension ( ._pdf)  and how do I  open them when they are email attachemnts, becuase it wont let me rename it or save it as any other version.

    Not sure. What email are you using? Gmail (or web based email) by chance?
    Definitely not a Reader issue if you can see the underscore in your email.
    You can try saving it as is then try renaming it using Windows Explorer to see if that works.

  • I am able to 'create a new version from original' but when I try to export the original, I only get a .jpg with the XMP file. The original is obviously there but why can't I access it please?

    In Aperture 3 when I right click on an image I am able to 'create new version from original' which suggests that the original is there. When I try to export the original I only get a .jpg with the XMP file. These particular images are from 2010, has the RAW file become disconnected somehow? Please, how do I get access to the RAW file for editing in Ps? Thank you. Thomasrevil.

    Sorry leonie, 'Use RAW as Original' is not an option for the image shot with the Canon.
    Then your Import settings must have been different, when you imported the Canon photos.
    You can check, if there is still a hidden raw file somewhere. If the image has been imported as a pair, you should see the "J" badge in Browser and Viewer, if you enable badge overlays. This indicates a pair, with the jpeg as original.
    Select one of those images, and then relocate the original files "File > Relocate original" to a folder, where you can inspect it. Use "File > Show in Finder" after ward. Look, don't touch .
    Then put it back, using "File > Consolidate".
    Do you see your raw files in the folder, or is only a jpeg there?

  • I'm getting really annoyed with the Mac.

    Don't mean to offend geniune Mac fans here, but I'm just getting really annoyed with the Mac.
    I purchased my Mac mini (late 2012) in May of 2013 - so it's about 4 months old. I don't have a lot of software on it, mainly the Adobe Creative Suite, and development tools (Xcode, and web development software).
    The mini has this annoyance where, every so often it just freezes. It usually happens during when the screensaver is running, or when the monitor goes into standby and I try to wake it up. First the screensaver runs for 15 minutes. Sometimes it happens (it's random) that the screensaver "stalls" and the mac freezes. If it "survives" the screensaver, then after 15 minutes my monitor goes into standby mode. Sometimes when I wake up the monitor, I get the login window, I log in, and then I find that the Mac just froze.
    A few days ago I've updated to 10.8.5. Now these freezes are happening more often. The mac freezes just whenever, regardless of screensaver or not. There was a time when I had ReadKit running, displaying an article. I went to the kitchen, when I came back the mini was frozen as ice. No other program was running (I mean program that I started).
    Other times I had Chrome open at youtube. It was not playing a video. The browser was just "parking" at youtube's home page. Same thing. I go away, come back, the mini was frozen.
    Yet just a few days ago, I had no user started application running. None. I leave the mini alone for a short while, come back, and I find the fan was running like crazy. The mac was not hot at all, but the fan went bonkers. It was loud and pumping air out for no reason.
    At these times I can't do anything. Sometimes I can move the window, or move icons on the desktop, but I cannot force quit an app, neither I can start one. So things like going to the apps folder and starting terminal or activity monitor is not possible. I cannot select menu items from the Finder (or any other application) menus, so I can't restart or shut down the mac. The only thing I can do at these times is hold the power button for a few seconds to force the mac to shut down.
    I'm coming from Windows. I built and upgraded my PC a few times in the past 7-8 years with newer and faster MOBOs, processors, memory, etc. I never had a bad component; I never had a blue screen; I never had my PC hang; I have never encountered any issues that would make my PC hang or froze or otherwise. I never had to troubleshoot software or hardware problems because they were/are just non existent. I'm not trying to start a war here about PCs and Macs. I'm completely natural.
    But here I am with this "thing" that supposed to be so great and trouble free. I have already reinstalled the OS once during this 4 month old mac, but now it seems I have to do it again because ever since 10.8.5 things has gotten worse. This is really N-O-T what I expected from a Mac. I am just really annoyed, frustrated and everything else.
    I was browsing these support forums and tried/looked at a couple of diagnostic steps, but none helped so far. I will attempt to reinstall the OS A-G-A-I-N over the weekend. If that doesn't help, then I will have to put this junk into the garbage can. (Well, figuratively speaking of course.)
    Mac mini late 2012
    OS X 10.8.5
    i7 2.6 GHz 8G
    Samsung S27B970 display via DisplayPort
    Apple extended wired keyboard
    Logitech LS1 laser mouse
    No other peripherials

    Hey thanks for the feedback woodmeister! No, I was not aware of the hardware diagnostics!
    So I have eagerly followed the isntructions, but I quickly found out what I have already experienced looking at other Apple "unhelpful" documentation. When I was referring in my OP that I've looked at other resources, the problem was that those "un-support" documents were out of date and the article indicated that Apple has retired them.
    Now as far as the link that you sent (and the same can be found in the Help section of OS X as well, wasn't helpful either. Why?
    In the document the bullets are as follows:
    If you have a new Mac (mid-2013 or later), use Apple Diagnostics, which is built into your Mac.
    If your Mac has OS X v10.8.3 or earlier, use Apple Hardware Test, which is built into your Mac.
    If you updated your Mac to OS X v10.8.4 or later, use the system software disc or USB flash drive that came with your Mac.
    Let's start with bullet #1. As far as I know (and correct me if I'm wrong) but I'm not aware of mid-2013 Mac minis. Mine is late 2012, so I guess I don't fit into bullet #1.
    Bullet #2. I have OS X 10.8.5 so it means I don't fit into that bullet either.
    Bullet #3. Yes, I did update to 10.8.4 or later (using 10.8.5) but neither a software disc nor a USB flash drive came with the Mac mini late 2012 model.
    So what now? Another great "support" document that is confusing and/or not helpful. Nevertheless, I did give it a try. Disconnected my ethernet cable, hold down D, and rebooted. I get a "Choose Network Connection" drop down on the gray screen where I'm supposed to choose a Wi-Fi network. Why? This has not been mentioned in the docs. My Wi-Fi is disabled because I'm connecting through cable.
    So I reconnected the cable. As soon as I did that, I got the message that ... let's see... my memory is failing me... the recovery mode or reinstalling the OS will begin... or something along that line. There was NO ANY INDICATION about any hardware test or diagnostics!
    See, what I mean about frustration...?

  • Why am I getting messages such as "The command "Image Size" is not currently available" when trying to run an Action that has always worked in the past and when the particular Commands do work if used by themselves?

    Why am I getting messages such as "The command Image Size is not currently available whenever I try to run an Action that uses the particular command (and which has always worked fine previously) and when the particular command works fine when used on its own?

    I would think that image size would always be available when there is an active document in Photoshop.  The only time I remember seeing messages like that where they should work was during the five month period when Adobe released CS6 with so many bugs which took Adobe five months to fix.  During those five month messages like that that should not have happen were common when action switch between documents.  Adobe would start processing the next Action step before the document switch completed, Any step that required an active document could fail with a mess stating the command is not available.
    Are you by some chance using CS6 version 13.0 CS6 without any updates.  Use Photoshop menu Help>About Photoshop.  If it shows CS6 version 13.0 you need to update CS6. .

  • Why Toshiba notebooks are not delivered with the common Vista install CD

    Our household now has two x Toshiba laptops, both of which were supplied with MS Vista Home Premium pre-installed.
    The nature of the Recovery Media provided with these machines is such that (a) we do not have sufficient flexibility over volume/partition sizes, program locations etc., and, more specifically.
    It makes it necessary for the majority of the bundled software (Norton Security etc.,) to be installed by default in the event of a system failure. (And immediately uninstalled following recovery! An unnecessary waste of time.)
    Bearing in mind that a proportion of the price paid for each laptop must have included a cost for the Vista Operating System, does anyone know if it is possible to obtain a Master Recovery disk which ONLY consists of the operating system, and which allows us the flexibility of configuration which used to be available when the OS was purchased as a separate product.
    Additionally, please let me know if it is possible to purchase Toshiba laptops as a RAW machine, i.e no OS supplied, and I will then buy my own and cut out the rubbish which is supplied on the pre-installed media.

    >Why Toshiba notebooks are not delivered with the common Vista install CD?
    The answer is very simple: software is bundled to hardware and when you buy notebook you buy license for preinstalled Vista version and you can install recovery media so often you want and it belongs JUST to your notebook model. It cannot be used with other notebook or PCs.
    If you get usual Vista installations DVD it can be installed on each computer system. For such purposes you must buy Microsoft installations DVD.
    As you already wrote Toshiba recovery image contains much software that can be not useful for you. You can remove it from the system and nobody force you to use them. I do the same.
    After clean OS installation the first thing I do is to remove or software I don't need or I don't like.
    I optimise preinstalled OS on my own.

  • Why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    -read reply #3 about the ORDER of uninstalling & installing https://forums.adobe.com/thread/1242671

  • Why do I get a folder with a question mark on bootup

    why do I get a folder with a question mark on bootup
    my daughters Mac and she doesn't remember which osX version she had.
    can't seem to get past that flashing folder with a ? in it

    A flashing question mark at boot means no start up drive can be found. Solutions vary based on what OS is installed.
    Try the command and r keys held down at restart to see if it enters "recovery" mode. Use the Disk Utility to find out more about the drive.

  • I preordered Nba 2015 and I was supposed to get some DLC with the game.

    I preordered Nba 2015 and I was supposed to get some DLC with the game.  I never got an email with any dlc.  How do I go about getting the preoder DLC, now?  Any help would be greatly appreciated. 

    Hello mjfoster77,
    Thank you for pre-ordering NBA 2K15 from Best Buy, and thanks for being a My Best Buy Gamers Club Unlocked member.  I hope you've been enjoying your game, but I am sorry to hear you didn't receive your bonus.  
    We do have a process in place for direct support with gamer codes.  If you do not receive your codes, you’ll want to send a message to our Gaming-BBY inbox with the following information:
    Message Subject: Game Title & Platform
    Message Body: Include...
    Proof of purchase (Customer Service PIN from in-store receipt or BestBuy.com order #)
    Email address (the one you provided for the code)
    One of our gaming specialists will then be able to review your order and determine why you might not have received your pre-order code.
    Thanks!
    Mike|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I have an old Mac G5 with OSX 10.5.8  After a crash of my HD, I reinstalled the CS3. At the time of recording I get a window with the message "COMPLETED REGISTRATION" and under "There was a problem sending the informasioni via internet" and still under th

    I have an old Mac G5 with OSX 10.5.8
    After a crash of my HD, I reinstalled the CS3.
    At the time of recording I get a window with the message "COMPLETED REGISTRATION" and under "There was a problem sending the informasioni via internet" and still under three choices to "send back" and "records in a second time "or" never record "and I continue to choose the latter option.
    Another problem is that in Bridge (version 2.0.0.975) I can no longer see thumbnails of RAW files from my Canon 40D that I saw before.
    Should I upgrade ACR? which is the latest version supported on my Mac?
    thank you

    Sergio Bellotto if you keep receiving the registration screen then please try accepting the screen in a different User account.

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • Hi! I've got CS3 Design Standard - the actual disks and Software License certificate. It was installed on my laptop which crashed and could therefore not be uninstalled. I have now installed it on my new MacBook Pro, but cannot get it registered with the

    Hi! I've got CS3 Design Standard - the actual disks and Software License certificate. It was installed on my laptop which crashed and could therefore not be uninstalled. I have now installed it on my new MacBook Pro, but cannot get it registered with the serial number. Is it because it wasn't uninstalled on the previous laptop? What to do now?? Thx!

    Maybe this can help someone else...  I simply had to properly uninstall CS3 and reinstall it again after that.  I think that sorted it!  I also remember having a similar issue with Macs at work a couple of years back.  Not sure whether the same applies to CS5/CS6.  Here's a link on how to properly uninstall CS3 on Windows XP, Windows Vista and Mac OS.  I'm on OS X 10.9.2 but it worked just fine.  Remove Creative Suite 3 and CS3 products

  • Why does Apogee Jam not work with the Ipod Touch 4G

    Hi,
    I have a Apogge Jam an it works fine with my Mac Book, but it does not seem to be compatible with my Ipod Touch 4g.
    Only the Gibbson L&M app recognize the Apogee Jam, but no other App (Ampkit, ....) :-((
    With the IPhone 4 it shall work, can tell me anybody why Apogee Jam is not compatible with the Ipod Touch 4g (
    although the Gibson-App works)?
    Is there perhaps still other Apps which work with the Ipod Touch and Apogge Jam?
    Thanks
    Michael

    I cannot answer the specifics, but I would guess it is a software issue because Griffin iTalk app will cooperate with the Apogee JAM on an iPod Touch 4g running iOS5.  If this app can do it, then one would presume the other apps could be updated to do it also.
    From last week up until yesterday, Apogee actually listed the 4G Touch as a compatible device with the JAM.
    Apparently there was some confusion about Garageband now supporting iPod Touch and its functionality with JAM.

  • HT201441 i cant get in touch with the previous owner to get the device removed from their account

    How can i resolve this issue since i cant get in contact with the account holder?

    Welcome to the Apple community.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

Maybe you are looking for

  • [SOLVED] Read-only filesystem error

    Hi there, i'm trying to install Arch Linux (2012.10.06) about a week. I have problem, that i can't connect to wired internet, because I have access only to wireless.... Let's begin, i read all of this: https://wiki.archlinux.org/index.php/Ne - stalla

  • Can't get cmdpause to work

    I'm new and can't get the cmdpause to work.  I'm using Captivate 6 I have a main menu.  When someone returns to the menu I have a variable on the returning button that sets a variable vMainMenu to 1.   Upon reaching the main menu, If vMainMenu = 1 th

  • Subcategories in Graphs

    Dear All, How can one inlcude sub categories under a category for graphs? Appreciate your help. Regards, Prosenjit. Edited by: prosenjit chaudhuri on Dec 15, 2008 11:04 AM

  • PO items not showing up in MR11

    the problem is the open items in the GL aren't showing up in T code MR11.  Usually when the lines are blocked they will not show up to post the clearing.  For the line items below the PO lines were NOT locked and they still weren't showing in MR11. w

  • What is  help to create prototype of SEM BCS?

    Hi guys, Can give me an idea about the role:"help to create  prototype of SEM BCS"? thanks