MATLAB Code Example- 24 bit Digital Output using NI USB-6501
MATLAB supports digital input/output devices with the Data Acquisition Toolbox.
This MATLAB code example shows you how to set the output voltages of a data acquisition device capable of digital output.
This example was tested on National Instruments™ USB-6255 device. The example also applies to NI USB-6501 and other devices. This example assumes that the vendor board driver (NI-DAQmx ) is installed.
For a complete list of supported boards:
http://www.mathworks.com/products/daq/supportedio.html
Learn more about using the Data Acquistion Toolbox:
http://www.mathworks.com/products/daq
Cite As
MathWorks Data Acquisition Toolbox Team (2026). MATLAB Code Example- 24 bit Digital Output using NI USB-6501 (https://in.mathworks.com/matlabcentral/fileexchange/26319-matlab-code-example-24-bit-digital-output-using-ni-usb-6501), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Data Acquisition Toolbox > Counter and Timer Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Data Acquisition Toolbox Supported Hardware >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
