Getting Started with NI myDAQ
MATLAB supports NI myDAQ hardware through the Data Acquisition Toolbox. This simple example shows how to setup a DAQ session with myDAQ hardware.
Specifically, the example illustrates how to discover the device, establish a connection with the device, change the sampling rate, change the voltage range and acquire and plot data.
For more information about Data Acquisition Toobox:
www.mathworks.com/products/daq
Cite As
MathWorks Data Acquisition Toolbox Team (2024). Getting Started with NI myDAQ (https://www.mathworks.com/matlabcentral/fileexchange/40749-getting-started-with-ni-mydaq), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Data Acquisition Toolbox >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware >
- Test and Measurement > Data Acquisition Toolbox > Hardware Discovery and Setup >
- Test and Measurement > Data Acquisition Toolbox > Analog Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Digital Input and Output >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.