IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the current value of the counter included in the payload of the image.
Name |
ChunkCounterValue[ChunkCounterSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
0 ... 16777215 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
// Set ChunkCounterSelector to "Counter0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkCounterSelector")->SetCurrentEntry("Counter0");
// Determine the current ChunkCounterValue
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("ChunkCounterValue")->Value();
C#
// Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
// Set ChunkCounterSelector to "Counter0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkCounterSelector").SetCurrentEntry("Counter0");
// Determine the current ChunkCounterValue
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("ChunkCounterValue").Value();
Python
# Before accessing ChunkCounterValue, make sure ChunkCounterSelector is set correctly
# Set ChunkCounterSelector to "Counter0" (str)
nodeMapRemoteDevice.FindNode("ChunkCounterSelector").SetCurrentEntry("Counter0")
# Determine the current ChunkCounterValue (int)
value = nodeMapRemoteDevice.FindNode("ChunkCounterValue").Value()