Using NI-IMAQ imgSnap (ANSI C) with Windows 7 x64

Hello,
I am trying to perform some basic image acquisition using ANSI C calls to NI-IMAQ (as distributed by the November 2009 release of NI Vision). I am developing on Windows 7 x64.
Setup seems to work fine, but when I make the following call:
   void* theTempBuffer = NULL;   Int32 theRetVal = imgSnap(mSession, &theTempBuffer);
I get the following error:
This 32-bit device is operating on a 64-bit OS with more than 3GB of physical memory. This configuration could allocate 64-bit memory which is unsupported by the device. To solve this problem, reduce the amount of physical memory in the system.
I see this whether I compile to a 32-bit or 64-bit target. I would have concluded that the PCI-1422 simply isn't supported under Windows 7 x64, but the card (and attached camera) work fine for snapping or grabbing images when I go to the Measurement & Automation Explorer.
Thanks for your help.
Solved!
Go to Solution.

Hi KKRand,
Currently you are using a non-supported combination. Due to the hardware limitations of the 1422 board, it is limited to 32-bit DMA. Due to IMAQ's C API where users have the ability to allocate their own buffers to be acquired into, we have no way to enforce that this memory is below the 32-bit boundary for *all* use cases of our C API.
Because of this, we officially do not support using the IMAQ C API on a board with this 32-bit DMA limitation on a 64-bit system and more than 3GB of memory because we cannot guarantee that a user's application will run without any modifications. These limitations do not apply if you use an API like LabVIEW where the user does not control the memory allocation directly or you have a newer board with 64-bit DMA support.
Measurement & Automation Explorer can get around this limitation because it uses limits its use of our API to ensure that memory is allocated properly to guarantee that it is below the 32-bit boundary if you have an affected board/system combination. With possibly a little modifications to your app, you should be able make it able to work as well, but as I mentioned it is not an officially supported combination.
The modifications to your application are:
- Make all allocations of image buffers that you will use for acquisition from that board be allocated by calling into imgCreateBuffer() as opposed to allocating them by other means (new, malloc, on the stack, etc). Memory allocated in this manner must be released by calling imgDisposeBuffer().
- Disable enforcement of checking this condition by calling a private function exported from imaq.dll as "int niimaquDisable32bitPhysMemLimitEnforcement(SESSION_ID boardid)"
The first part is likely already satisfied in your case because the high-level imgSnap() allocates the memory for you and thus ensures that it meets our requirements. You'd have to add the second to your application. Keep in mind this is unsupported. We currently do not check that all buffers in your bufferlist were allocated in this manner and so if you allocated a buffer by some other means you would get a run-time configuration failure when and if any memory ever fell past the 32-bit boundary when you start acquiring.
This behavior might change in the future, but from a support standpoint it is unlikely that we'd officially support this configuration since it is highly dependent how the user's application is written (if it relies on its own memory allocations). What we wanted to avoid was customers starting with simple usage of our API (like a high-level Snap()) and finding it working but then later going and allocating their own buffers and seeing a failure.
Hope this helps, 
Eric 

Similar Messages

  • I am using Lightroom 5.7, 64 bit with Windows 7 Professional. For no apparent reason, I now get an error message when I export a photo, say a raw image to a JPG. However, the exported image seems to be OK. But now I notice that my LR directory of folders

    I am using Lightroom 5.7, 64 bit with Windows 7 Professional. For no apparent reason, I now get an error message when I export a photo, say a raw image to a JPG. However, the exported image seems to be OK. But now I notice that my LR directory of folders in Library view does not show images correctly: If there is a folder with sub-folder(s), the folder will indicate 0 images, but the sub-folders show the proper number of images. What happened and is there a fix? I tried uninstalling Lightroom and re-installing, but problem persists.
    Here is a screen shot of the error message:
    Message was edited by: Joseph Costanza, Jr.

    See here for a solution.

  • Want to use Premiere Elements 4 or newer with Windows Vista 64 bit??

    We bought a new pc with Windows Vista 64 bit - but are now having problems using my Photoshop Elements6 and Premiere Elements 4 with our new pc.  it says on the box and on the web - that it is compatible with Vista - so why isn't it working for us?  Do i need to buy something else - and if so what?

    I am not sure completely about Photoshop Elements - but my main issue is with Premiere Elements....i need to find a program that will work so i can work with all my videos.  Trying to find out why it doesn't work or how to get it to work.
    Date: Mon, 8 Jun 2009 21:24:11 -0600
    From: [email protected]
    To: [email protected]
    Subject: want to use Premiere Elements 4 or newer with Windows Vista 64 bit??
    What problems with PSE?
    >

  • Hello alltogether! I use PSE 7 on my PC with windows XP and now want to change to a new Mac with the

    Hello alltogether! I use PSE 7 on my PC with windows XP and now want to change to a new Mac with the newest version PSE . Is it possible to move all my albums and tags to that new version? Thank you very much for your kind answers! Candyapple111

    1. Install PSE 11 in windows, upgrade your catalog, then make a full backup  to a removable drive, like a usb drive, using the organizer's back up command. If you buy the boxed version you get discs for both platforms.
    2. Install PSE on the mac.
    3. Restore the backup to the mac. Point the restore to the .tly file in the folder, not the enclosing folder.

  • I am using InDesign CS 3.0.1 with Windows XP. I am getting a new computer with Windows 8.1. Will my version work with this? If not can I get an upgrade?

    I am using InDesign CS 3.0.1 with Windows XP. I am getting a new computer with Windows 8.1. Will my version work with this? If not can I get an upgrade?

    Probably won't work. You can buy a full license for CS6 which is already two versions and soon to be three out of date or you can subscribe to Creative Cloud.

  • Has anyone gotten DLNA to work properly with Windows 7 x64 ?

    Has anyone gotten DLNA to work properly on Windows 7 64 bit and Windows Media Player 12? I got it working, sort of. It's not reliable though, and very slow. It drops the connection a lot, and when I go to engage it it connects about half of the time and half of the time it won't see the Media Server. It also times out when trying to scan my (admittedly large) music directory on my PC.
    I'm sure that my hardware is ok, I think that DLNA is just a buggy system. But if anyone has it working properly with Windows 7 x64 and WMP 12 can you tell me exactly how you set it up?  And if you used another desktop app besides WMP can you tell me what worked for you?
    Thanks!

    Try setting it up like this.  Hope this helps!
    Start Device Manager.
    Windows 7 Click Start > Control Panel > System and Security > Device Manager.
    The following devices are normally installed:
    Anrdoid USB Devices
    My HTC
    Disk drives
    HTC Android Phone USB Device
    Modems
    HTC Modem (if using as a tethered modem)
    Portable Devices
    E:/ (Where E represents the assigned drive letter.)
    Universal Serial Bus controllers
    USB Composite Device
    USB Mass Storage Device
    If a red X, yellow ! or yellow ? is displayed to the left of a listed device, a conflict is present and the drivers must be updated or reinstalled.
    Driver conflicts may also be indicated by a device entry labeled Other Devices or Unknown.
    If a conflict is present:
    If using the HTC DROID Incredible ADR6300 as a Sync device continue to step 3.
    If using the HTC DROID Incredible ADR6300 as a Modem ensure the device drivers are installed. Refer to Downloading and installing VZAccess Manager for additional assistance.
    If VZAccess Manager is installed and a driver conflict is still present, continue to step 3.
    Right-click the device then click Update Driver Software.
    If using Windows 2000 / XP, right-click the device then click Update Driver.
    The device name may differ from the example shown.
    Click Browse my computer for driver software.
    If using Windows 2000 / XP, select Install from a list or specific location (Advanced) then click Next.
    Enter C:\Windows\System64\driver into the search window then click Next.
    The driver location can be entered manually or navigated to by clicking Browse.
    If the driver software is not found, a Windows Operating System update may be needed.
    Click Close.

  • ThinkPad W530 with Windows 8 x64 Pro BSOD when connecting to projector

    Nine, that only covers Widows 7. Many people in this thread have reported the problem using Windows 8. Has that been addressed by Lenovo yet? Stability problems like this should NEVER be allowed to go so long without a resolution.
    Edit Note : This thread was created base from the previous thread "ThinkPad W530 with Windows 7 x64 Pro BSOD when connecting to projector. As we currently Cx reporting facing the same issue on Win8 I have seperated this thread in order not toconfuse other customer. For cutomers facing this issue please continue posting in this thread.

    Hi shan_mcarthur,
    Thanks for posting. I read through this thread again and noticed that most of customers here do indeed have Windows 7 installed as what the title represented unless I'm mistaken or may have missed out are you or anyone else here facing the same issue on Windows 8. If that is the case I'll be more than happy to bring this up with the teams but it will have to be a new thread though as I'd like to keep the resolution separate based on the OS use just to not confuse other customer .
    For those facing the same issue above on Win8, please do let me know so we can start a discussion around this.
    Do let me know.
    Regards

  • Cannot configure and connect to Airport Express Base Station Model A1264 with Windows 7 (x64)

    I am not able to connect Airport Express Base Station Model A1264 with Windows 7 (x64).  I did a factory reset, uninstalled and reinstalled the AirPort Utility for Windows v. 5.6.1.
    My objective is to extend a non-Apple WiFi network with Airport Express Base Station Model A1264 and use it for direct ethernet and/ or wireless connection.  Any guidance as to how I can get set up here?

    This is very common, we run a mix of mac and various pc brand desktops and laptops, what I have found is that using the windows wireless client rather than manufacturers on some laptops helps, getting the latest wireless drivers from the manufacturer has helped, make sure all your windows updates XP and Vista are current.
    If all the above is covered try the different WEP WPA WPA2 variants or even without for test purposes. I have most success with WPA2.
    Finally I am assuming your running the latest firmware on the express unit, whilst this hasn't attributed to better connectivity for us I did it regardless.
    Message was edited by: Fence Rider

  • When I update apple driver, a pop-up error message "The folder you specified doesn't contain a compatible driver for your device. If the foldre contains a driver, make sure it is designed to work with Windows for x64-based systems."

    When I update apple driver, a pop-up error message "The folder you specified doesn't contain a compatible driver for your device. If the foldre contains a driver, make sure it is designed to work with Windows for x64-based systems."

    Hi,
    Please also check Event Viewer if it identify this problem.
    In addition, also check Device Manager, if similar driver already installed, try to uninstall them and reinstall new driver again for test.
    Roger Lu
    TechNet Community Support

  • Which version packages do I need for T530 with Windows 7 x64?

    - Power Management Driver:
    This version http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS032258
    Or this version http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS014939
    - Intel Management Engine Firmware:
    This version http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS028929
    Or this version http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS032435
    The reason I'm asking is because Lenovo Support Driver & Software website lists all these versions for T530 with Windows 7 x64.

    usually i go for the newer version.
    and on my thinkpad i installed power management driver version 1.66
    and for ime firmware the second link you provided.
    good luck

  • Drivers for the Macbook 13 a1278 with windows 7 x64

    hello. where you can find the drivers for the Macbook 13 a1278 with windows 7 x64? boot camp gave me the drivers for x32.
    PS google translator

    You can download the drivers before you install windows, or download it from Apple support!
    here is a link:
    http://support.apple.com/downloads/#download%20bootcamp%20windows%207
    hope it helps you!

  • Using Family Share or Home Share with Windows 8? If so, what is my best option and how do I set it up??

    I would like to use either Family Share or home share. If I use a pc/laptop with Windows 8, will I be able to use these programs, or do I have to use an Apple device initially? I have an iTunes acct,that I share w/my daughter. However, I would like for us, to each have our own account, and yet share music when we want to.So,am I better off using Family Share or Home Share? We have a lot of music that we have bought together over the years, and I don't want either of us to lose out on those purchases. Yet, I also don't necessarily want all of the music that she  buys, and she doesn't want all the music that I buy. If either of these are an option, how do I go about setting it up? Thanks for the help!

    Welcome to the Apple Community.
    They are different things and it sounds like you might ant to use them both, please take a little time to read the following articles.
    Family Sharing and Apple IDs for kids
    Understanding Home Sharing

  • Can I use my Mac OS iTunes Library with Windows XP under Boot Camp?

    Hello. I have a Mac Pro with two drives, a 1TB Mac OS 10.5 drive and a 500GB Windows XP drive. I have a large iTunes library on my Mac OS drive, and I'd like to be able to access it when I'm using XP. I downloaded MacDrive hoping that I'd be able to use the same iTunes library, but I'm stuck as to what to do now. Anyone know if this is possible, and how I can get it to work?

    I have my entire iTunes library shared between Mac OS X 10.5.2 and XP (aka. Media Center 2005).
    I use an HFS+ volume accessed via MacDrive. In my case I started off with the Windows iTunes as the master (and use it to rip all my CDs). I then set the Mac side running iTunes to use the same iTunes folder as specified in Windows (this is done in Advanced Preferences). I also replaced the Mac "iTunes Music Library.xml" and "iTunes Library" file (both stored in /Users/username/Music/iTunes) with aliases pointing to "C:\Documents and Settings\username\My Documents\Music\iTunes\iTunes Music Library.xml" and "C:\Documents and Settings\username\My Documents\Music\iTunes\iTunes Library.itl" respectively.
    Note: I suspect the Mac side will need write access to these two files, and as I used FAT32 for the Windows volume the Mac does have write access. However there are now at least two ways for the Mac to get write access to NTFS volumes (MacFuse being one). It may also be possible to tell iTunes to store these files themselves in a common location (not tried that).
    While it is not relevant to your query, I have also managed to share my entire iTunes library with Windows Media Player (and therefore also to Media Center 2005). All my music is in Apple Lossless format and I have a directshow filter for WMP to let it play Apple Lossless (or unprotected AAC). I also have a plugin installed to let WMP read the meta tags in MPEG4 (i.e. AAC and Apple Lossless) files.
    When I switch from Windows to Mac and run iTunes it does a brief rebuild, when I switch from Mac to Windows it again does a brief rebuild and the result is that the list of music in iTunes on both operating systems is always the same and successfully accesses the same music files on the shared volume. I rebooted back in to Mac OS X at the weekend and was happily accessing the music in Front Row.

  • I want to use iChat video and file sharing with Windows users

    Nowadays, iChat is compatible with AOL/AIM, Google Talk, Jabber, Mac.com and MobileMe instant messaging services. I know that Yahoo Messenger support will be available soon in Mac OS X Lion.
    I tried using AOL/AIM and Google Talk natively in iChat in order to talk with Windows users which were using Google Talk application or web chatting (Me from: Google Talk - My friends from:  Google Talk, and Me from: AOL/AIM - My friends from:  Google Talk), but videoconference and file sharing were not available.
    I also tried Windows Live Messenger in iChat via Jabber intermediate, but it is not efficient and doesn't work for videoconference and file sharing.
    So, which IM service combination I should use to chat with Windows users in order to be able to use videoconference and file sharing using such a great app like iChat?
    Thanks you.

    Hi,
    A lapsed Trial or lapsed Paid for MobileMe account will not work in any fashion, as a Screen Name in iChat/AIM apps or as a Email.  (Of course it is no longer an Valid Apple ID either).
    Given that Google is a Jabber server iChat will Video (or Audio Only) Chat Jabber to Jabber.
    With a Valid AIM name (AIM, MobileMe or @mac.com) then it is supposed to work to AIM on a PC
    This tends to vary from person to person as to success.
    From AIM version 6.5 AIM introduced a Send as Typing feature called "Real Time"
    It does not work to iChat and in fact also has to be turned Off in the Buddy List at the AIM end for Video or Audio chats to work.
    The AIM app also has to be allowed through the Windows Firewall as an Exception, preferably with UPnP enabled as well and UPnP enabled in their Router.
    Trillian is a paid for App for PCs that provide an alternative.
    Recently theri site offered 3 windows versions
    The Pro version of verion 3.2 (known to work), a version 4 and a version 5 in beta.  The version 3.2 used to have a free Text chat version and only the Pro version was needed to Video.
    Until the site was reorganised the 3.2 version was "On Sale" at a reduced price.
    It seems version 5 is now out of beta
    They are still separating out a Pro version.
    It is a multi-service client
    There is also a Mac version although I have not tried it.
    I am not sure what you mean by "Manage" your MSN Contacts.
    How about using a MobileMe expired account screen name for using iChat with Windows-Google Talk users? Should I expect the same incompatibilities?
    I have already addressed part of this. The fact the name will not work full stop.
    However one way of reading this is that you are thing of linking AIM and Jabber (Google) Buddies in one Buddy List
    Directly in iChat this cannot be done - unless you are the one with the Jabber Account and an AIM Transport set up.
    You would be subject to the same Text Chat only restrictions.
    It is a bit like the fact your phone line can be used for Fax, Telephone and DSL broadband. (in fact mine does TV as well)
    You granny would not be able to talk to your Fax machine if that happened to answer the call.
    Her Fax machine might be able to communicate with your computer if you had an active Fax app on there, and a dail-up modem active to answer.
    10:06 PM      Tuesday; May 24, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Using USB Devices in RDS VDI with Windows 8.1 Scenario

    We are currently in a Upgrade Scenario from our old Windows XP/ Citrix XenDesktop Farm to a new VDI Installation. The new Installation is a Windows Server 2012 R2 Remote Desktop Services Collection using Remote Desktop Virtualizaion Hosts on 2012 R2 too.
    The VD- Clients are Windows 8.1 ENT and the User Endpoints are HP ThinClients with Windows Embedded 8.1 Industry Enterprise.
    The user connects to his Virtual Desktop via 8.1 Embedded (RDP8.1)
    We want all new USB- Drives to map natively in the RDP- Session (RemoteFX USB redirect) so USB- Sticks or CD/DVD Drives are controlled by the VD-Client OS.
    We understand, that there are so called "high level devices" which RDP is using per Default. We also know, that there is a GPO that redirects all "other supportet USB devices". That works well for e.g. Webcams, but we want to override the
    "high Level devices" policy an simply map a e.g. USB Stick natively to the RDP Destination.
    Currently the drive is mapped as a "high Level usb device" and the usb key has no drive letter, cant be formattet or used in other RemoteApp Sessions initiated on the VD- Client OS.
    The Systems we are using:
    Windows 8.1 Enterprise - VD Client on HyperV 2012 R2 FO Cluster
    Windows 8.1 Embedded Industry Enterprise as ThinClient OS
    Windows Server 2012 R2 as Middleware (RDS VDI Collection, Web Access)
    Thank you in Advance
    Chris

    Hi Chris,
    Thank you for posting in Windows Server Forum.
    The USB devices that you would like to use in the remote session must be plugged in before starting Remote Desktop Connection; devices plugged in during the session will not be redirected.
    Have you tried to reconfigure the USB device?
    Please try to remove that device and reconfigure with use of following command and check whether issue get resolved.
    Set-RDVirtualDesktopCollectionConfiguration –CollectionName YourCollectionName –CustomRdpProperty "usbdevicestoredirect:s:{6bdd1fc6-810f-11d0-bec7-08002be2092f }"
    where {6bdd1fc6-810f-11d0-bec7-08002be2092f} is the System-Defined Device Setup Class GUID.
    More information.
    1) RemoteFX USB Redirection in Windows Server 2012 and Windows 8
    2) Introducing Microsoft RemoteFX USB Redirection: Part 3
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

Maybe you are looking for