I2C, or Inter-Integrated Circuit, is a chip-to-chip interface
supporting two-wire communication. You can open connections with individual
chips and read and write over the connections. Create the interface
object using the
i2c function, and use the
To use the I2C interface, you need to have either a Total Phase Aardvark host adaptor or a NI-845x adaptor board installed. See Configuring I2C Communication for more details.
|Create I2C object|
|Remove instrument objects from MATLAB workspace|
|Remove instrument objects from memory|
|Display instrument object summary information|
|Disconnect interface object from instrument|
|Connect interface object to instrument|
|Read binary data from instrument|
|Write binary data to instrument|
|Instrument object properties|
|Information about available hardware|
|Class method names and descriptions|
|Record data and event information to file|
|Configure or display instrument object properties|
You need to have either a Total Phase Aardvark host
adaptor or a NI-845x adaptor board installed to use the
These sections describe configuration for each option.
Communicating over the I2C interface involves adaptor discovery, connection, communication, and cleanup.
You can access and set interface-specific properties
that can be used with the
For the Instrument Control Toolbox™ I2C and SPI interfaces, you can use either a Total Phase Aardvark host adaptor or an NI-845x adaptor.
Instrument Control Toolbox I2C support lets you open connections with individual chips and to read and write over the connections to individual chips.
These tips and guidelines apply to the use of the I2C interface.
These properties are available in the toolbox.
Try these tips if you have problems using the toolbox with the I2C interface. Includes information about I2C supported platforms, adaptor requirements, and configuration and connection.