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: U3 models •PCB version uEye+ LE USB 3.1 Rev. 1.2 (requires USB3 Vision firmware 3.2 or higher) •uEye+ LE USB 3.1 Rev. 1.2 AF (requires USB3 Vision firmware 3.2 or higher) •USB 3 uEye+ ACP GV models •GigE uEye+ ACP UI models •PCB version uEye LE USB 3.1 Gen 1 •PCB version USB 3 uEye LE •PCB version USB uEye LE •GigE uEye LE |
Controls the length of I2CTransmitBuffer/I2CData.
I2CData can only be used with I2CDataLength <= 4 Byte. We recommend to use I2CTransmitBuffer for new implementations.
Name |
I2CDataLength |
Category |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
B |
Visibility |
Expert |
Values |
1 ... 256 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
Code example
C++
// Determine the current I2CDataLength
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CDataLength")->Value();
// Set I2CDataLength to 4
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CDataLength")->SetValue(4);
C#
// Determine the current I2CDataLength
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CDataLength").Value();
// Set I2CDataLength to 4
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CDataLength").SetValue(4);
Python
# Determine the current I2CDataLength (int)
value = nodeMapRemoteDevice.FindNode("I2CDataLength").Value()
# Set I2CDataLength to 4 (int)
nodeMapRemoteDevice.FindNode("I2CDataLength").SetValue(4)