Skip to content
Ken Sharp edited this page Dec 8, 2023 · 1 revision

I2C Close

Close the specified I2C channel. Not all devices support or require this fuction. Most Wiring (Arduino) comaptible devices do not support this function.

If the current device does not support this function it will return a 'Function Not Supported' warning which should be handled by the users code.

i2c-close.png

Inputs

I2C Channel (0)

Specifies the I2C channel to read from. If the LINX device has a single I2C master it is channel 0. If the LINX device has more than one I2C master the logical first I2C master is channel 0, the next is channel 1, etc.

LINX Resource

Contains LINX connection resources.

Error In

Describes error conditions that occur before this node runs. This input provides standard error in functionality.

Outputs

LINX Resource

Contains LINX connection resources.

Error Out

Contains error information. This output provides standard error out functionality.

Related Links

i2c-open

i2c-read

i2c-write

VI Reference

Clone this wiki locally