Please enable JavaScript to view this site.

IDS peak 2.17.1 / uEye+ firmware 3.70

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

hint_info

This function is supported by the following models from firmware version 3.20 on:

PCB version uEye+ LE USB 3.1 Rev. 1.2

uEye+ LE USB 3.1 Rev. 1.2 AF

uEye+ ACP USB 3

uEye+ ACP GigE

Controls the I2C data that is subject to the selected I2C operation.
If I2COperationSelector is set to "Read", I2CTransmitBuffer returns the data read from the I2C device after I2COperationExecute was executed.
If I2COperationSelector is set to "Write", I2CTransmitBuffer controls the data that will be sent to the I2C device when I2COperationExecute is executed.

Name

I2CTransmitBuffer

Category

I2CControl

Interface

Register

Access

Read/Write

Unit

-

Visibility

Expert

Values

256

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

icon-ui-gige icon-ui-usb2 icon-ui-usb3

hint_info

The access changes to read-only when I2COperationSelector is set to "Read".

Code example

C++

// Get Transmit buffer as register node
auto nodeTransmitBuffer = nodeMapRemoteDevice->FindNode<vapinamespace::core::nodes::RegisterNode>("I2CTransmitBuffer");
// Write the I2CTransmitBuffer
const std::array<uint8_t, 16> i2cData = { 0x59, 0x6F, 0x75, 0x20, 0x66, 0x6F, 0x75, 0x6E, 0x64, 0x20, 0x6D, 0x65, 0x21, 0x21, 0x21, 0x00 };
nodeTransmitBuffer->Write(i2cData.data(), i2cData.size());
// Read the I2CTransmitBuffer
const auto len = nodeTransmitBuffer->Length();
const auto data = nodeTransmitBuffer->Read(len);

C#

// Get Transmit buffer as register node
var nodeTransmitBuffer = nodeMapRemoteDevice.FindNode<peak.core.nodes.RegisterNode>("I2CTransmitBuffer");
// Write the I2CTransmitBuffer
ByteCollection byteCollection = new ByteCollection(
  new byte[]{ 0x59, 0x6F, 0x75, 0x20, 0x66, 0x6F, 0x75, 0x6E, 0x64, 0x20, 0x6D, 0x65, 0x21, 0x21, 0x21, 0x00 });
nodeTransmitBuffer.Write(byteCollection);
// Read the I2CTransmitBuffer
uint len = nodeTransmitBuffer.Length();
byte[] data = nodeTransmitBuffer.Read(len).ToArray();

Python

# Get Transmit buffer as register node
node_transmit_buffer = nodemap_remote_device.FindNode("I2CTransmitBuffer")
# Write the I2CTransmitBuffer
data = ids_peak.VectorUInt8([0x59, 0x6F, 0x75, 0x20, 0x66, 0x6F, 0x75, 0x6E, 0x64, 0x20, 0x6D, 0x65, 0x21, 0x21, 0x21, 0x00])
node_transmit_buffer.Write(data)
# Read the I2CTransmitBuffer
data_len = node_transmit_buffer.Length()
data = node_transmit_buffer.Read(data_len)

© 2025 IDS Imaging Development Systems GmbH