I2C VIs

LabVIEW 2016 ELVIS RIO Control Toolkit Help

Edition Date: June 2016

Part Number: 376300A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Low Level VIs

Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the I2C VIs to control the Inter-Integrated Circuit (I2C) channels.

Palette ObjectDescription
CloseCloses the reference to an Inter-Integrated Circuit (I2C) channel. This VI also disables the I2C channel and resets the configuration of the channel.
ConfigureConfigures the transfer rate of an Inter-Integrated Circuit (I2C) channel based on the input I2C reference.
OpenOpens a reference to an Inter-Integrated Circuit (I2C) channel. You must open a reference before you use an I2C channel to write data to and read data from an I2C slave device.
ReadReads a specified number of bytes of data from an Inter-Integrated Circuit (I2C) channel. This VI returns the result when finishing reading all the bytes or when timing out.
WriteWrites data to an Inter-Integrated Circuit (I2C) slave device. This VI returns the result when finishing writing all the bytes or when timing out.
Write ReadWrites data to an Inter-Integrated Circuit (I2C) slave device and then reads a specified number of bytes of data from the I2C slave device. This VI returns the result when finishing writing or reading all the bytes, or when timing out

WAS THIS ARTICLE HELPFUL?

Not Helpful