You can use Instrument Control Toolbox™ to communicate with NI-DCPower power supplies. You can control and take digital measurements from a power supply, such as the NI PXI 4011 triple-output programmable DC power supply.
This feature is available through the Instrument Control Toolbox Support Package for NI-DCPower Power Supplies. Using this installation process, you download and install the following file(s) on your host computer:
MATLAB Instrument Driver for NI-DCPower support
National Instruments® NI-DCPower driver file
Example that shows how to take digital measurements from an NI-DCPower power supply
Note: You can use this support package only on a host computer running a version of 64-bit Windows® that Instrument Control Toolbox supports.
Supported Compiler Requirement
Certain functionality in the NI-DCPower support package may require a supported compiler on your system. For the current list of supported compilers, see Supported and Compatible Compilers on the MathWorks® website.
Once you have installed a supported C compiler, set up your
compiler by running
mex -setup, as described in
the documentation for
mex in the MATLAB® Function
Installing the Support Package
To install the Instrument Control Toolbox Support Package for NI-DCPower Power Supplies:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer, scroll to the Hardware Support Packages section, and click show all to find your support package.
To uninstall support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
To update existing support packages:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Check for Updates > Hardware Support Packages.
For more information about using Add-On Explorer, see Get Add-Ons.