Can ANSI C DAQmx.lib be compliled in 64bit mode?

I was tried to use VC2008 to compile a 64bit program based on DAQmx on a 64bit Windows Vista. I used DAQmx.lib provided in the DAQmx 9.0 package located in C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc. But I got a bunch of link errors:
 error LNK2001: unresolved external symbol DAQmxResetDevice
error LNK2001: unresolved external symbol DAQmxClearTask
I tried to change the compilation target to 32bit and everything works. Is there any solution to help me make the program complied in 64bit?

Ok, we solved the problem -- it was that we were using the wrong nidaqmx library file.
The correct location for 64-bit systems (on the set LIB= line in mexopts.bat for matlab users), should be C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc
We were using C:\Program Files (x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc
We didn't notice this until we tried to compile the simple nidaqmx example from the command line using cl.exe and so we looked for the include directory in the simple VS 2008 example (right-click on the project -> properties -> configuration properties -> c/c++ -> general -> "additioonal include directories"
We noticed it was different from our include path and so we checked the "additional library directories" under configuration properties -> linker -> general -> "additioonal library directories" and noticed that too was different.
I must say that it would have been nicer if this info was in the manual or that the directory structure was a little easier for a human to navigate.
Thanks for your help!  The most important part of troubleshooting is finding out what is NOT the problem, and we appreciate your posts.

Similar Messages

  • Stand-Alone application with LabView 7.0 getting error can't find DAQmx clear task.vi

    I have attempted to create a stand alone vi with the Build Application or Shared Library(dll) in LabVeiw 7.0
    When I put it on another PC to test it I get the error "can't find DAQmx clear task.vi"
    the other PC has Labview 7.0 and DAQmx 8.1 also.
    I believe my problem is in the source tab where you are supposed to add support and dynamic vi's I have search the forums and Ni's data base and have not found a solution.
    Solved!
    Go to Solution.

    Hi LabTech09,
    When you run the executable on the other computer is when you get this error?  Do you have the exact same versions of LabVIEW and DAQmx on both computers?  Does the dialog allow you to navigate to the DAQmx clear task.vi?  If so, you can find these VIs in C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\DAQmx\configure\task.llb.  Does the executable work on the development machine (the machine it was compiled on)?
    Regards,
    Jim Schwartz

  • PALM error can't open net.lib error:4615

    hi,
    i test the access to a servlet from a midlet.
    when i run my midlet from POSE emulator,it's ok.
    from my palm ,i get this message can't open net.lib error:4615
    thank to help me if you have an idea

    Have u solve the problem? I'm doing a MIDlet to access servlet , it works great in emulator, but when i put it in Palm , Erro 0x00001231, or just can't connect to the servlet...

  • How can i convert a .lib file by using coff2omf ?

    How can i convert a .lib file by using coff2omf ?

    Iam using Open API. I have to convert d:\orant\FORMS60\ifd2f60.LIB. I canot link this in C++.

  • Can't log in with valid password, can't boot from disk, can't access disk utility, in single user mode can't reset password as appears locked in caps mode with '?' for forward slash, can anyone help?

    Can't log in with valid password, can't boot from disk, can't access disk utility, in single user mode can't reset password as appears locked in caps mode with '?' for forward slash, can anyone help?

    Which keyboard layout you were using? German, French ... I suppose your layout is reset to the default: US and you are unable to find the "?" or "/" ...
    Please have a look into the keyboard viewer, to see how the layout of your keyboard is actually.
    marek

  • How can I run a keynote presentation in full screen mode ?

    How can I run a keynote presentation in full screen mode?

    Keynote runs in full screen by default when you click the Play button in the toolbar. If you want the slides to fit the display area, check the box next to "Scale slides up to fit display" in Preferences...

  • Iphone 4 went into recovery mode when trying to restore, only option available now is to "restore and update" however this will not work, how can you restore from a backup once in recovery mode and only option is "restore and upgrade"? Please help!

    iPhone 4 went into recovery mode when trying to restore it. Now the only option iTunes allows is for "restore & upgrade", it is not offer an option to restore from a backup, says that must first do the upgrade, when attempting to do the upgrade the iPhone won't accept it.
    How can I restore from a back up in recovery mode when the only option is "restore and upgrade"?
    Please help.

    You don't you must restore your phone first and then you will have the option to restore from your backup.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • HT1947 If you add music VIDEOS to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from diff playlist, no longer can see Up Next, just go to full screen mode button. Using remote app iphone 5 to play out of

    If you add music videos to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from different playlist, you no longer can see Up Next, just go to full screen mode button. Using remote app iPhone 5 to play out of iTunes. It looks like it works fine for regular music, but for music videos you can't see your up next unless you go back on the computer to change once you've left the screen. When using the remote app, you shouldn't need to go to iTunes on the PC to view or edit Up Next already added. See first image, you can hit upper right and get back to Up Next (second image). Third image is music video, where you can't get back to Up Next, just swap between full screen and not. I hoped 3.0.1 would have the answer, no luck!

    wow, very nice review Makes me want to get a vision for myself.
    WebKnight wrote:
    <SPAN>
    Add the ability to randomly select a new background from a pre selected group of photos every time the player is turned on or each day.
    I would love that feature. I can't stand useing my computer with a single wall paper anymore (I have 500 anime pics that i rotate between every 2 mins ) If you could make the vision rotate background every x minutes or every time the player is turned on, it would be totally amazeningly sweet!!!! (i might have to go out and buy one then :P)
    I just hope that creative has better firmware support with the vision than they have had with the touch.
    Once again, great review

  • Can I fade out the targets in the Design mode?

    I  did put some triggers and targets from the tooltip widgets on my site. How can I make the targets disappear in the Design mode??? Of course they are gone in the Preview mode, but hey disturb me very much in the Designe mode, cause I can't see anything behind.

    Hello,
    Disable the option shown in this screenshot: http://jingsite.businesscatalyst.com/jing/2013-10-18_2304.png
    Cheers
    Parikshit

  • Can't get my TC to work in Bridge mode...

    I installed Time Capsule TC to my exsisting network, that has a Linksys router.  Can't get my TC to work in Bridge mode.  Suggestions?
    I have the TC directly connected to the router and want to use the TC for wireless Time Machine back ups and to share other hardrives via
    the network.  I also have an old airport express for airplay speakers in one room.  And an airport extreme that I thought I had set up to extend
    the network wirelessly.  I have yet to find a concise and clear list of steps to make this happen. 
    Any help would be appreciated.
    Holly

    The problem is the steps changed with the new airport utility..
    I can tell you the steps on a 5.x utility. If you run Lion then download the real tool.
    http://support.apple.com/kb/DL1482
    Go to manual setup.. internet tab.. connection sharing.. select off, bridge mode.. update the TC..
    Wasn't too hard was it.

  • Why I can not install the iTunes to my new 64bit laptop??? I have never had this kind of problem before on my 32 bit old laptop...

    I would like to get a help... I can not install the iTunes to my new (64bit) laptop... Why??? The installation stops somewhere after a few minute, looks like trying to install but can not go through until the end. I had my old (32bit) laptop and i have never had any problem with the installations... My new laptop is Asus (64bit), and the operating system just upgraded from Win8 to Win8.1....

    Hello rafaelfromweymouth
    Start with the first article and clear out any files in the Temp folder. You may need to remove iTunes and its related software and finally make sure that you have the 64-bit version of iTunes downloaded to install.
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    iTunes 11.3 for Windows (64-bit)
    http://support.apple.com/kb/DL1615
    Regards,
    -Norm G. 

  • How can i get a iphone 3G out of recovery mode without restoring it

    Need Help, How can I get a iPhone 3G out of recovery mode without restoring it. it has never been backed up so restoring it will loose all contacts etc.

    You can't get it out of recovery mode without restoring it. 
    If it's in recovery mode, your data's almost certainly gone anyway.

  • How can Manage Permissions for DB in Shared Services Security Mode

    In shared services security mode, after provisioning users for Essbase applications, only can assign database calculation and filter access. How can I grant permissions "Access Databases" like in native mode?

    Essbase will be default be in shared services security mode in 11.1.2, the wizard will not migrate security when in this mode.
    It is possible to revert it back but if you don't know the process then it is worth looking at alternatives first.
    You could use LCM to export the provisioning and then import into your target environment.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • What files can be excluded from user-managed backup in noarchivelog mode?

    what files can be excluded from user-managed backup in noarchivelog mode?
    control files,
    sqlnet.ora file,
    tnsnames.ora,
    datafiles associated with read-only tablespaces,
    datafiles associated with read/write tablespaces,
    of these, what can be excluded and what have to be included?
    Thanks.

    ... and don't forget pfile or spfile... it can help too.
    Re: What are generally backed up during the backup?
    Nicolas.

  • Can I add a bluray player to a 64bit windows 7 Pavilion a6547c?

    Can I add a bluray player to a 64bit Windows 7 Pavilion a6547c?

    Hi,
    Yes you can add a Blu-ray player to your PC.  I recommend that you consider an external player so that you and move and connect it to other PCs.
    NewEgg has many external Blu-ray players.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

Maybe you are looking for

  • Sales Orders :: OpenSum differs from OpenQty*Price

    Hello all, Creating a backlog report for a customer, I've found that, for partially delivered Sales Orders rows the OpenSum = LineTotal when, in my opinion, it should be OpenSum = OpenQty x Price. Can anyone confirm what should be the correct value o

  • Report Bursting and Distribution in Discoverer

    Hello all, We are currently using Oracle BIS Discoverer 10.1.2 and have a requirement to run a report that includes information segemented by cost center and also includes other numerical data (e.g. PTD YTD totals). We would like to run this report (

  • Moving playlists from Mac to iPhone 5

    In the newest version of iTunes, how do I put the playlists from my Mac onto my iPhone 5.  It's probably staring me right in the face, but so far I have't figured it out.

  • Error ORABPEL-10903

    Hi, I am using eclipse version 0.9.13 and working through the creditflow example. I am getting the following error message on Windows 2000 using java 1.4 Buildfile: C:\Documents and Settings\dkunzman\workspace\CreditFlow\build.xml main: [bpelc] BPEL

  • BSP on cellular phones

    Hello all ! I have a tricky question and I have been searching an answer for weeks, unsuccesfully... I would like to develop a little and simple BSP for cellular phones. All seem to be compatible. I can display pages as normally as I hoped... ...but.