Installing NI DAQmx for LabVIEW 2017 and 2016 on Mac

Updated Aug 16, 2018

Reported In

Software

  • LabVIEW 2017 Full
  • LabVIEW 2016 Full

Issue Details

How do I install NI DAQmx for LabVIEW 2017 or 2016 on a Mac?

Solution

The specified instructions include ADE support for LabVIEW 2017 on a Mac OS X operating system. (To install DAQmx for LabVIEW 2016, follow the same instructions, but for Step 3., download the NI-DAQmx Base Addon for LabVIEW 2016 instead.)

Installation instructions:
  1. Install LabVIEW 2017 or 2016 for Mac to the default directory.
  2. Download and install NI-DAQmx Base 15.0 - Mac OS X
  3. Download the NI-DAQmx Base Addon for LabVIEW 2017 found on the DAQmx Base 15.0 download page, under the Supporting Files section. Be sure to leave this file in the Downloads folder.
  4. Remove the spaces in the file name by renaming the folder NI-DAQmxBaseforLabVIEW2017.
  5. First, navigate to the Downloads directory by opening a terminal window and typing the following command with administrator permissions: cd/Users/YOUR_USER_NAME/Downloads/NI-DAQmxBaseforLabVIEW2017. (Be sure to replace YOUR_USER_NAME with whatever name you use for your User directory. Example: cd/Users/John/Downloads/NI-DAQmxBaseforLabVIEW2017).
  6. Then, install the add-on by typing the following command in the terminal window: ./INSTALL.sh
  7. The command should take a couple of seconds to install and indicate success.
  8. The NI-DAQmx Base Palette should now be available in LabVIEW.
  9. The NI-DAQmxBaseforLabVIEW2017 folder can now be deleted from the Downloads folder.

Additional Information

This installation copies the LabVIEW 2015 version of the DAQmx Base function into LabVIEW 2017 or 2016, so it is recommended that you mass compile these functions to improve performance in loading times. There are three directories that need to be mass compiled:
  1. Open LabVIEW 2017 or 2016. For LabVIEW 2016, follow the instructions below but replace 2017 with 2016.
  2. Open the Mass Compile Utility by selecting Tools » Advanced » Mass Compile...
  3. Select the following directory: Applications » National Instruments » LabVIEW 2017 64-bit » vi.lib » _DAQmxBase
  4. Select Mass Compile
  5. Select the following directory: Applications » National Instruments » LabVIEW 2017 64-bit » vi.lib » _dmxb
  6. Select Mass Compile
  7. Select the following directory: Applications » National Instruments » NI-DAQmx Base » example

WAS THIS ARTICLE HELPFUL?

Not Helpful