Getting Started With NI-DAQmx for myDAQ on Mac OS X

Publish Date: Jul 22, 2015 | 14 Ratings | 3.71 out of 5 | Print | Submit your review

Overview

The purpose of this document is to get you started with NI-DAQmx for myDAQ, which provides native support for myDAQ on Mac OS X.

Table of Contents:

  1. Installing Software
  2. Taking Your First Measurement
  3. Further Resources
  4. FAQ

 

Installing Software

You can find the NI-DAQmx for myDAQ driver for download at this location on NI Labs. In addition to this driver, you will need the LabVIEW development system for Mac OSX. This software comes with the Academic Site License. You can also download a trial version from this link

Once you have downloaded the NI-DAQmx for myDAQ driver, you can install it by double-clicking on NI-DAQmx for NI myDAQ.dmg and following the prompts.

 

Taking your first Measurement

NI-DAQmx for myDAQ ships with a myDAQ configuration utility, which you can use to verify that your myDAQ is working properly. To access this utility, go to System Preferences and select NI myDAQ.

The window shown below should pop up with a list of all of the different myDAQs you have connected to your system. You can use the window to rename your myDAQ. If a myDAQ does not show up, try refreshing the configuration utility.

A good first step is to run a self-test on your myDAQ from this utility. You can access this self-test from the settings tab in the bottom left of the configuration utility. Once your myDAQ has passed this self-test, you can proceed to setting up a loopback test using the myDAQ test panels to confirm that your myDAQ is operational. This test sends out a 1 Hz sine wave and reads it back in on myDAQ. Follow these steps to complete a loopback test:

  1. Connect Analog Output 0 (AO0) to Analog Input 0+ (AI0+).  Making this connection allows you to output a signal from your myDAQ's analog output terminal and then acquire it on the myDAQ’s analog input terminal.
  2. Wire Analog Ground (AGND)  to AI0-.
  3. These two connections will allow you to send out a signal from AO0 and read it in on AI0.

Now, we need to actually send that signal in hardware.

  1. Within the myDAQ configuration utility, select Open Test Panels from the drop-down menu.

  1. Click the Analog Output tab and change the settings to match those shown below.

  1. Click Start.
  2. Click the Analog Input tab.
  3. Click Start.

You should see a sine wave acquisition in the Analog Input tab, like the one below.

  1. Click Stop in the Analog Input and Analog Output tab.

Congratulations! You have successfully taken your first measurement with your myDAQ. Feel free to explore the other test panels to experiment with your Digital or Counter I/O.

 

Further Resources

There are two great places to obtain more resources for myDAQ. The first is the LabVIEW example finder. To access this on Mac OS X, open LabVIEW, and go to Help>>Find Examples. There are a broad array of examples contained within the Example Finder, which are helpful for programming all aspects of LabVIEW. You can filter these examples to only show those which will work with myDAQ through the following process:

  1. Click Setup in the bottom right-hand corner of the Example Finder window.
  2. Switch to the Hardware tab.
  3. In the pop-up window, scroll through the list of hardware on the left until you come to NI myDAQ, which should be the last of the hardware entries that begin with NI.
  4. Click on the right-pointing arrow to add myDAQ to the list of Devices to find examples for.
  5. Check the box next to Show Hardware menu. Your window should look like the one below.

  1. Close this window.
  2. Select NI myDAQ from the Hardware drop-down menu in the bottom left-hand corner of your window.
  3. Check the Limit results to hardware box below this menu.

You should now have a window full of NI-DAQmx Examples which run on myDAQ, like below.

Another great place for NI-DAQmx for myDAQ examples is the myDAQ community.

 

FAQ:

  1. Where are the ELVISmx Instruments that traditionally ship with myDAQ?

We have built prototype versions of six of the seven ELVISmx instruments that are currently hosted on the myDAQ community. Currently, the “Print” and “Help” functionality are not operational for these instruments. If you would like to assist the community by building that functionality into these VIs, feel free to modify the source code and post your results. These instruments are posted as examples for myDAQ for Mac OS X. While they are not an officially supported part of the DAQmx for Mac OS software, we have found them to work without issues.

The Arbitrary Waveform Generator has not yet been ported to Mac OS X.

 

  1. Do Express VIs work with NI-DAQmx for myDAQ?

Unfortunately, neither the ELVISmx Express VIs nor the DAQmx Express VIs are supported in NI-DAQmx for myDAQ. The DAQmx API is the only supported method of programming myDAQ on Mac OS X. We have provided copies of the ELVISmx Express VIs and many examples in the Example finder to help programmers get started with DAQmx for myDAQ. You can also view this white paper series for an introduction to the DAQmx API.

 

  1. Which versions of LabVIEW are supported?

NI-DAQmx for myDAQ is supported in LabVIEW 2013, 2013 SP1, and 2014.

 

  1. Which  versions of Mac OS X are supported?

Mac OS X 10.7 (64-bit kernel only), 10.8, and 10.9 are supported. We anticipate success in future versions of Mac OS X. Please post to the forum with your success or any issues that you may encounter.

 

  1. Where do I go if I have additional questions?

The myDAQ community is a great place to ask questions.

 

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit