IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
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 |
|
Interface |
Register |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
256 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
The access changes to read-only when I2COperationSelector is set to "Read". |
Code example
C++
// Determine the current I2CTransmitBuffer
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CTransmitBuffer")->Value();
// Set I2CTransmitBuffer to 0xAB
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CTransmitBuffer")->SetValue(0xAB);
C#
// Determine the current I2CTransmitBuffer
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CTransmitBuffer").Value();
// Set I2CTransmitBuffer to 0xAB
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CTransmitBuffer").SetValue(0xAB);
Python
# Determine the current I2CTransmitBuffer (int)
value = nodeMapRemoteDevice.FindNode("I2CTransmitBuffer").Value()
# Set I2CTransmitBuffer to 0xAB (int)
nodeMapRemoteDevice.FindNode("I2CTransmitBuffer").SetValue(0xAB)