MATLAB Code Example- 24 bit Digital Output using NI USB-6501

Controlling Digital Output from MATLAB
2K Downloads
Updated 1 Sep 2016

View License

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
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Updated description.