For the Instrument Control Toolbox™ I2C interface, you can use either a Total Phase Aardvark host adaptor or an NI-845x adaptor. To use the I2C interface with the NI-845x adaptor, you must download this Hardware Support Package to obtain the latest driver, if you do not already have the driver installed. If you already have the latest driver installed, you do not need to download this Support Package.
To use the NI-845x driver, download and install the following files on your host computer:
National Instruments® NI-845x adaptor driver file
Example that shows how to use the NI-854x adaptor with the I2C interface
Installing the Support Package
In MATLAB® type:
to open the Support Package Installer.
You can also open the installer from MATLAB by selecting Home > Resources > Add-Ons > Get Hardware Support Packages.
On the Select an action screen, select Install from Internet and then click Next. This option is selected by default. Support Package Installer downloads and installs the support package and third-party software from the Internet.
On the Select support package to install screen, select NI845x I2C Driver from the list.
Accept or change the Installation folder and click Next.
If you are prompted to log in to your MathWorks® account, click Log In to continue.
On the MATHWORKS AUXILIARY SOFTWARE LICENSE AGREEMENT screen, select the I accept check box and click Next.
The Third-party software licenses screen displays your choice of Instrument Control Toolbox Support Package for National Instruments NI845x I2C Driver.
Review the information, including the license agreements, and click Next.
On the Confirm installation screen, Support Package Installer confirms that you are installing the support package, and lists the installation location. Confirm your selection and click Install.
The National Instruments installation starts, and a downloads status dialog box appears during the installation. This can take a long time to complete.
You can continue working in MATLAB as the download proceeds.
After the National Instruments NI-845x driver installation is complete, you will see an Installation Complete screen.
After the installation is complete, you see a confirmation message on the Support Package Installer Install/update complete screen. Click Finish to close the Support Package Installer.
If you selected the Show support package examples option (recommended), the Help displays the example.
You are prompted to restart your computer. You must restart for the installation to be complete. Click OK and then restart your computer.