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 |
I2CData is an Integer register limited to 32 bits. If I2CDataLength is > 4 bytes, this register cannot be used. Use the new I2CTransmitBuffer node instead. I2CData is present only for backward compatibility. New implementations should use I2CTransmitBuffer. |
Controls the I2C data that is subject to the selected I2C operation.
If I2COperationSelector is set to "Read", I2CData returns the data read from the I2C device after I2COperationExecute was executed.
If I2COperationSelector is set to "Write", I2CData controls the data that will be sent to the I2C device when I2COperationExecute is executed.
Name |
I2CData |
Category |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
0 ... I2CDataLength Increment 1 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
The access changes to read-only when I2COperationSelector is set to "Read". |
Code example
C++
// Determine the current I2CData
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CData")->Value();
// Set I2CData to 0xAB
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("I2CData")->SetValue(0xAB);
C#
// Determine the current I2CData
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CData").Value();
// Set I2CData to 0xAB
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("I2CData").SetValue(0xAB);
Python
# Determine the current I2CData (int)
value = nodeMapRemoteDevice.FindNode("I2CData").Value()
# Set I2CData to 0xAB (int)
nodeMapRemoteDevice.FindNode("I2CData").SetValue(0xAB)