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

I2C Write

Write data bytes to the I2C slave device identified by I2C Slave Address on the specified I2C channel.

i2c-write.png

Inputs

EOF

(Optional)Specifies the end of frame configuration. The end of frame configurations supported depends on the LINX device.

Stop - Send a stop condition.

Restart - Send a stop and restart condition.

Restart No Stop - Send a restart condition without sending a stop condition.

No Stop - Do not send a stop or restart condition.

I2C Channel

Specifies the I2C channel to write to. 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.

I2C Slave Address (0)

Specifies the 7-bit I2C slave address.

Data

The data to write to the I2C slave device.

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-close

i2c-open

i2c-read

VI Reference

Clone this wiki locally