The purpose of this document is to get you started with NI-DAQmx for the myDAQ Student Data Acquisition Device, which provides native support for the myDAQ Student Data Acquisition Device on Mac OS X.
You can find the NI-DAQmx driver for myDAQ Student Data Acquisition Device 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 Volume License (AVL). 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.
NI-DAQmx for myDAQ Student Data Acquisition Device 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 myDAQ Student Data Acquisition Devices you have connected to your system. You can use the window to rename your myDAQ Student Data Acquisition Device. If a myDAQ Student Data Acquisition Device does not show up, try refreshing the configuration utility.
A good first step is to run a self-test on your myDAQ Student Data Acquisition Device from this utility. You can access this self-test from the settings tab in the bottom left of the configuration utility. Once your myDAQ Student Data Acquisition Device 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 Student Data Acquisition Device Follow these steps to complete a loopback test:
Connect Analog Output 0 (AO0) to Analog Input 0+ (AI0+). Making this connection allows you to output a signal from your myDAQ Student Data Acquisition Device's analog output terminal and then acquire it on the myDAQ Student Data Acquisition Device’s analog input terminal.
Wire Analog Ground (AGND) to AI0-.
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.
Within the myDAQ Student Data Acquisition Device configuration utility, select Open Test Panels from the drop-down menu.
Click the Analog Input tab.
You should see a sine wave acquisition in the Analog Input tab, like the one below.
Click Stop in the Analog Input and Analog Output tab.
Congratulations! You have successfully taken your first measurement with your myDAQ Student Data Acquisition Device. Feel free to explore the other test panels to experiment with your Digital or Counter I/O.
There are two great places to obtain more resources for myDAQ Student Data Acquisition Device. 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 Student Data Acquisition Device through the following process:
Click Setup in the bottom right-hand corner of the Example Finder window.
Switch to the Hardware tab.
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.
Click on the right-pointing arrow to add myDAQ to the list of Devices to find examples for.
Check the box next to Show Hardware menu. Your window should look like the one below.
Close this window.
Select NI myDAQ from the Hardware drop-down menu in the bottom left-hand corner of your window.
Check the Limit results to hardware box below this menu.
You should now have a window full of NI-DAQmx Examples which run on the myDAQ Student Data Acquisition Device, like below.
Another great place for NI-DAQmx for myDAQ Student Data Acquisition Device examples is the myDAQ community.
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.
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.
NI-DAQmx for myDAQ is supported in LabVIEW 2013, 2013 SP1, and 2014.
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.
The myDAQ community is a great place to ask questions.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.