Table Of Contents

Related Documentation

Version:
    Last Modified: April 24, 2019

    Each application software package and driver includes information about writing applications for taking measurements and controlling measurement devices. The following references to documents assume you have the earliest version of NI-DAQmx supported by your FieldDAQ device.

    NI-DAQmx

    The NI-DAQmx Readme lists which devices, ADEs, and NI application software are supported by this version of NI-DAQmx. Select Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Readme.

    The NI-DAQmx Help contains API overviews, general information about measurement concepts, key NI-DAQmx concepts, and common applications that are applicable to all programming environments. Select Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Help.

    LabVIEW NXG

    Refer to the Taking NI-DAQmx Measurements lessons to assist in getting started in LabVIEW NXG, beginning with NI-DAQmx API Basics. To access these lessons, enter taking NI-DAQmx measurements in the Search bar in LabVIEW NXG.

    LabVIEW

    Use the LabVIEW Help, available by selecting Help»LabVIEW Help in LabVIEW, to access information about LabVIEW programming concepts, step-by-step instructions for using LabVIEW, and reference information about LabVIEW VIs, functions, palettes, menus, and tools. Refer to the following locations on the Contents tab of the LabVIEW Help for information about NI-DAQmx:

    • VI and Function Reference»Measurement I/O VIs and Functions»DAQmx - Data Acquisition VIs and Functions—Describes the LabVIEW NI-DAQmx VIs and functions.
    • Property and Method Reference»NI-DAQmx Properties—Contains the property reference.
    • Taking Measurements—Contains the conceptual and how-to information you need to acquire and analyze measurement data in LabVIEW, including common measurements, measurement fundamentals, NI-DAQmx key concepts, and device considerations.

    LabVIEW Real-Time

    The Real-Time Module Concepts book of the LabVIEW Real-Time Module Help includes conceptual information about real-time programming techniques, application architectures, and Real-Time Module features you can use to create real-time applications. Refer to the Real-Time Module Concepts before attempting to create a deterministic real-time application.

    LabWindows/CVI

    The Data Acquisition book of the LabWindows/CVI Help contains Taking an NI-DAQmx Measurement in LabWindows/CVI, which includes step-by-step instructions about creating a measurement task using the DAQ Assistant. In LabWindows™/CVI™, select Help»Contents, then select Using LabWindows/CVI»Data Acquisition. This book also contains information about accessing detailed information through the NI-DAQmx Help.

    The NI-DAQmx Library book of the LabWindows/CVI Help contains API overviews and function reference for NI-DAQmx. Select Library Reference»NI-DAQmx Library in the LabWindows/CVI Help.

    Microsoft Visual Studio Support

    You can use the NI-DAQmx .NET class library to communicate with and control an NI data acquisition (DAQ) device. Documentation for the NI-DAQmx .NET class library is available by selecting Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Documentation and then opening the NINETDAQmxFxXX.chm help file corresponding to the version of NI-DAQmx .NET Framework language support you have installed.

    • Measurement Studio Support for NI-DAQmx—If you program your NI-DAQmx-supported device in Visual Studio using Visual C# or Visual Basic .NET, you can interactively create channels and tasks using Measurement Studio and the DAQ Assistant. Additionally, you can use Measurement Studio to generate the configuration code based on your task or channel. Refer to the DAQ Assistant Help for additional information about generating code.

      To create an NI-DAQmx application using Visual Basic .NET or Visual C#, follow these general steps:

      1. In Visual Studio, select File»New»Project to launch the New Project dialog box.
      2. Choose a programming language (Visual C# or Visual Basic .NET), and then select Measurement Studio to see a list of project templates.
      3. Select NI DAQ Windows Application. Choose a project type. You add DAQ tasks as a part of this step.
    • .NET Languages without NI Application Software—With the Microsoft .NET Framework, you can use the NI-DAQmx .NET class library to create applications using Visual C# and Visual Basic .NET without Measurement Studio. Refer to the NI-DAQmx Readme for specific versions supported.

    ANSI C without NI Application Software

    The NI-DAQmx Help contains API overviews and general information about measurement concepts. Select Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Help.

    The NI-DAQmx C Reference Help describes the NI-DAQmx Library functions, which you can use with National Instruments data acquisition devices to develop instrumentation, acquisition, and control applications. Select Start»All Programs»National Instruments»NI-DAQmx»Text-Based Code Support»NI-DAQmx C Reference Help.


    Recently Viewed Topics