Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
16 ratings:
 3.37 out of 5     Rate this Document

Location of ANSI C NI-DAQmx Shipping Examples and DAQmx Library File for Windows



Hardware: Multifunction DAQ (MIO)

Problem:
Where are the ANSI C NI-DAQmx shipping examples and the DAQmx library file located on a Windows computer?

Solution:
The ANSI C NI-DAQmx shipping examples can be found by browsing to the following locations:

NI-DAQmx 8.3 and Earlier
C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

NI-DAQmx 8.5 and Later
With the NI-DAQmx 8.5 release, the example location was changed to:

Windows XP and Earlier:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

Windows Vista and Windows 7:
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C

Note: The NI-DAQmx 8.5 or later path is correct; however, if you are browsing to the directory, the Documents folder may be called Shared Documents.

The types of examples include:
  • Analog In
  • Analog Out
  • Counter
  • Digital
  • Events
  • Switches
  • Synchronization
For more information about the DAQmx C function calls, please refer to the DAQmx C Reference Help document.  This can be found by going to Start » Programs » National Instruments » NI-DAQ » Text-Based Code Support.

The NI-DAQmx Library file NIDAQmx.lib can be found here: 

(x86): <Program Files>\National Instruments\Shared\ExternalCompilerSupport\C\lib32\msvc

(x64): <Program Files>\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc

If you do not have the files in that location, be sure you selected ANSI C support as an item to install when installing NI-DAQmx as shown in Figure1.


Figure1. Custom Installation of NI-DAQmx with ANSI C Support selected.


Related Links:
Product Manuals: DAQmx C Reference Help Document
KnowledgeBase 34SGGQ7U: Installing NI-DAQmx Examples for LabWindows/CVI
KnowledgeBase 34JG497U: NI-DAQmx Shipping Examples in LabWindows/CVI

Attachments:





Report Date: 03/01/2006
Last Updated: 04/11/2014
Document ID: 3V09OJNY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit