VirtualBench VI Reference Help

Inter-Integrated Circuit

  • Updated2023-09-07
  • 1 minute(s) read

Inter-Integrated Circuit

Installed With: NI-VirtualBench application development support

Use the I2C VIs and functions to configure and control the I2C bus.

Palette Object Description
I2C Initialize

Creates and returns a new VirtualBench I2C session on the I2C engine for the device. The session is used in all subsequent VirtualBench I2C VI calls. This VI should be called once per session.

I2C Configure Bus

Configures the basic parameters of the I2C engine.

I2C Write Read

Performs a write followed by read (combined format) on an I2C slave device.

I2C Close

Closes the session specified in Instrument Handle In.



Subpalette Description
I2C Transactions

Use the I2C Transaction VIs and functions to complete transactions on the bus.

I2C Utilities

Use the I2C Utilities VIs as helper VIs to make VirtualBench programming easier.

Log in to get a better experience