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

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

Putting in Software program

Yow will discover the NI-DAQmx driver for myDAQ Scholar Information Acquisition Gadget for obtain at this location on NI Labs. Along with this driver, you’ll need the LabVIEW growth system for Mac OSX. This software program comes with the Tutorial Website License. You can too obtain a trial model from this hyperlink. 
 

After getting downloaded the NI-DAQmx for myDAQ driver, you’ll be able to set up it by double-clicking on NI-DAQmx for NI myDAQ.dmg and following the prompts.

 

Taking your first Measurement

NI-DAQmx for myDAQ Scholar Information Acquisition Gadget ships with a myDAQ configuration utility, which you should use to confirm that your myDAQ is working correctly. To entry this utility, go to System Preferences and choose NI myDAQ.

The window proven under ought to pop up with a listing of all the completely different myDAQ Scholar Information Acquisition Units you have got related to your system. You should utilize the window to rename your myDAQ Scholar Information Acquisition Gadget. If a myDAQ Scholar Information Acquisition Gadget doesn’t present up, strive refreshing the configuration utility.

 

A very good first step is to run a self-test in your myDAQ Scholar Information Acquisition Gadget from this utility. You may entry this self-test from the settings tab within the backside left of the configuration utility. As soon as your myDAQ Scholar Information Acquisition Gadget has handed this self-test, you’ll be able to proceed to establishing a loopback check utilizing the myDAQ check panels to substantiate that your myDAQ is operational. This check sends out a 1 Hz sine wave and reads it again in on myDAQ Scholar Information Acquisition Gadget Observe these steps to finish a loopback check:
 

  1. Join Analog Output 0 (AO0) to Analog Enter 0+ (AI0+). Making this connection lets you output a sign out of your myDAQ Scholar Information Acquisition Gadget’s analog output terminal after which purchase it on the myDAQ Scholar Information Acquisition Gadget’s analog enter terminal.

  2. Wire Analog Floor (AGND)  to AI0-.

  3. These two connections will let you ship out a sign from AO0 and skim it in on AI0.
     

Now, we have to really ship that sign in {hardware}.
 

  1. Throughout the myDAQ Scholar Information Acquisition Gadget configuration utility, choose Open Check Panels from the drop-down menu.

 

 

  1. Click on the Analog Output tab and alter the settings to match these proven under.

 

  1. Click on Begin.

  2. Click on the Analog Enter tab.

  3. Click on Begin.
     

It is best to see a sine wave acquisition within the Analog Enter tab, just like the one under.
 

  1. Click on Cease within the Analog Enter and Analog Output tab.
     

Congratulations! You’ve got efficiently taken your first measurement together with your myDAQ Scholar Information Acquisition Gadget. Be at liberty to discover the opposite check panels to experiment together with your Digital or Counter I/O.
 

Additional Sources

There are two nice locations to acquire extra sources for myDAQ Scholar Information Acquisition Gadget. The primary is the LabVIEW instance finder. To entry this on Mac OS X, open LabVIEW, and go to Assist>>Discover Examples. There are a broad array of examples contained inside the Instance Finder, that are useful for programming all facets of LabVIEW. You may filter these examples to solely present these which is able to work with myDAQ Scholar Information Acquisition Gadget by the next course of:
 

  1. Click on Setup within the backside right-hand nook of the Instance Finder window.

  2. Swap to the {Hardware} tab.

  3. Within the pop-up window, scroll by the record of {hardware} on the left till you come to NI myDAQ, which needs to be the final of the {hardware} entries that start with NI.

  4. Click on on the right-pointing arrow so as to add myDAQ to the record of Units to seek out examples for.

  5. Examine the field subsequent to Present {Hardware} menu. Your window ought to appear like the one under.
     

  1. Shut this window.

  2. Choose NI myDAQ from the {Hardware} drop-down menu within the backside left-hand nook of your window.

  3. Examine the Restrict outcomes to {hardware} field under this menu.
     

It is best to now have a window stuffed with NI-DAQmx Examples which run on the myDAQ Scholar Information Acquisition Gadget, like under.
 

One other great spot for NI-DAQmx for myDAQ Scholar Information Acquisition Gadget examples is the myDAQ group.

Leave a Reply

Your email address will not be published. Required fields are marked *